RE: [PHP] SESSION PROBLEMS 2
| From: | Jennifer Goodie | Date: | Wed, 07 May 2003 22:55:16 +0000 |
| Subject: | RE: [PHP] SESSION PROBLEMS 2 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146754@lists.php.net to get a copy of this message | ||
From looking at the manual
http://www.php.net/manual/en/function.session-write-close.php,
it looks like
you need to issue a session_write_close() call before using a header to
redirect. Probably because a redirect does not count as a script
termination so the auto saving does not happen.
> -----Original Message-----
> From: Dale [mailto:DaleHersh@hotmail.com]
> Sent: Wednesday, May 07, 2003 3:44 PM
> To: php-general@lists.php.net
> Subject: [PHP] SESSION PROBLEMS 2
>
>
> okey. I removed the
> line: session_start(); from the manager.php file.
>
> Now, even I hit the back button on the browser, the session is still
> invalid. This draws me to the conclusion that it must have something to do
> with the re-direct. Are you allow to you re-direct with sessions?
>
> Thanks,
> Dale