Re: session_write_close()
| From: | Richard Lynch | Date: | Fri, 24 Aug 2001 23:46:24 +0000 |
| Subject: | Re: session_write_close() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64362@lists.php.net to get a copy of this message | ||
PHP should be calling that for you, I think...
However, any error output will be swallowed up by the ether, since there is
no browser connection any more.
Add some http://php.net/error_log statements to your
session_write function
and check your Apache logs.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Gabor Gludovatz <ggabor@sopron.hu>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, August 22, 2001 1:47 PM
Subject: session_write_close()
> 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/
>