Re: Header+location+sessions
| From: | Jason Wong | Date: | Mon, 16 Feb 2004 18:21:08 +0000 |
| Subject: | Re: Header+location+sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177838@lists.php.net to get a copy of this message | ||
On Tuesday 17 February 2004 01:57, Natalia Sensini wrote:
> I've been using
> header("Location: http://www.example.com/");
> before writing this sentence i create a session and
> register a session var, but when i go to the redirected page the session
> var doesn't exist.
session_write_close() before you redirect.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"I'd love to go out with you, but I'm attending the opening of my garage
door."
*/