Re: sessions variables and meta refresh

From: Date: Wed, 11 Oct 2000 10:09:31 +0000
Subject: Re: sessions variables and meta refresh
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-19557@lists.php.net to get a copy of this message
Hi Henti, sessions works with cookies. And after a refresh (no matter if you use Header:Location or Meta-Refresh) the cookies are not available. The cookies are available on the NEXT page you call (try it), and with a Header:Location or refresh the browser thinks, you are on the SAME page. Martin hentis@twilyt.com wrote: > > I tried replacing meta with header(location) and still the same things happens .. > I losse the values of sessions once it redirects ... > > this is strange .. > > I must say I'm not sending cookies around .. but i have cookies enabled .. > > Henti > > On Wed, Oct 11, 2000 at 11:34:02AM +0200, hentis@twilyt.com wrote: > > hi all > > > > I'm using <meta http-equiv=\"Refresh\" content=\"0; > > URL=$URL\"> to refresh to a new page after authentication > > I register the variables fine .. and I can access them fine .. but once the page has > > redirected the session vars are still registered > > but does no longer contain the values it had previosly .. > > > > Does anybody know why this could happen ? > > > > henti > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19557) next »