Re: [PHP] $_SESSION and header()

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 7:33 am, Alessandro Rosa said: > (a) : After saving a couple of data into two $_SESSION variables from a > form, > (b) : I used the header() function to redirect the browser to > (c) : display another page. (c) needs at the top, just like (a) and (b) and (z) for any other pa

Re: [PHP] $_SESSION and header()

2005-06-26 Thread Alessandro Rosa
Does (c) have at the top of its page: André > 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 parameter

Re: [PHP] $_SESSION and header()

2005-06-26 Thread Paul Waring
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 betwe