Re: [PHP] Session and output buffering

2002-07-16 Thread Martin Clifford
You have to give the variable value before registering it, from my experience. $var = "123 Sesame Street"; session_register($var); Also, I don't believe you need to use session_unset(), since you are already destroying the session information. If you are getting errors, it would be helpful if

[PHP] Session and output buffering

2002-07-16 Thread Divyank Turakhia
I have set output_buffering = On in my php.ini file, since I need this for my application. When the user logins I want to destroy any current session and start a new session. I have included the below in my code for the same. But for some reason all my old data is available in the session.