Session and output buffering

From: Date: Tue, 16 Jul 2002 18:46:33 +0000
Subject: Session and output buffering
Groups: php.general 
Request: Send a blank email to php-general+get-107948@lists.php.net to get a copy of this message
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. session_start(); session_unset(); session_destroy(); session_start(); session_register("somevariable"); Can anyone figure out where I may be going wrong. Warm Regards, Divyank Turakhia ---------------------- http://www.directi.com ----------------------

« previous php.general (#107948) next »