session_write_close()
| From: | Gabor Gludovatz | Date: | Wed, 22 Aug 2001 18:47:07 +0000 |
| Subject: | session_write_close() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-63951@lists.php.net to get a copy of this message | ||
Hello,
I'm having problems with sessions. Since I use MySQL to store sessions, I
always have to call session_write_close() at the end of every page,
otherwise session variables don't get saved.
If I use PHP's built-in 'files' method to store session vars, then
everything works fine, I don't need to call session_write_close() and even
so the variables get saved and are restored correctly.
Is it a bug? Or is there something I don't know about?
--
Gabor Gludovatz <ggabor@sopron.hu> http://www.sopron.hu/~ggabor/