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."
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to