Discuss Simple?? Problem with php sessions. in the PHP Development forum on Dev Articles. Simple?? Problem with php sessions. PHP Development forum to discuss anything related to developing applications in PHP. Topics include architecture, coding standards, and debugging methods.
Time spent in forums: 2 Weeks 8 h 12 m 36 sec
Reputation Power: 15
Didn't catch the last line of your post. You are already starting the session somewhere earlier so that's not it.. Putting $_SESSION=.. before the header should fix it though.. Unless you use output buffering the header command will redirect your page before the session variable is set.