note 92199 deleted from function.session-regenerate-id by jani

From: Date: Wed, 16 Sep 2009 12:15:16 +0000
Subject: note 92199 deleted from function.session-regenerate-id by jani
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160611@lists.php.net to get a copy of this message
Note Submitter: dan at dcgi dot co dot uk ---- This function is very problematic when used in conjunction with either relatively quick browser refreshes or when you've even got another included element on the page (e.g., an image) included on the page which also regenerates the id! (The effect is that you'll lose all session data and it will look like you session data didn't get persisted). The Zend Framework Session classes uses session_regenerate_id(), I would suggest that you comment out the line in Zend/Session.php which calls session_regenerate_id() (there is only one at the time of writing this). I'm not aware of any option to turn it off in Zend_Session.

« previous php.notes (#160611) next »