Re: $_SESSION and header()

From: Date: Sun, 26 Jun 2005 14:53:08 +0000
Subject: Re: $_SESSION and header()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-217648@lists.php.net to get a copy of this message
On Sun, Jun 26, 2005 at 04:33:30PM +0200, Alessandro Rosa wrote: > But, when I'm in the new page of (c), the $_SESSION variables stored > in (a) are no longer available and I can get anymore their values then, > (I can't say if they have been unset or erased). You have to pass the session ID between pages, either by setting session.use_cookies = 1 (so that the session ID is passed using a cookie where possible) or append the session ID to the URL you are redirecting to as part of the query parameters. Paul -- Rogue Tory http://www.roguetory.org.uk

« previous php.general (#217648) next »