Re: $_SESSION and header()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux