Re: Sessions w/o cookies and the "Back" button

From: Date: Tue, 10 Oct 2000 16:24:30 +0000
Subject: Re: Sessions w/o cookies and the "Back" button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19374@lists.php.net to get a copy of this message
> > Something you might try is redirecting the user to a > > session-start page (which could be a splash page) with > > a META-REFRESH tag of 1 second which has the > > session id in the refresh tag if a user hits your site w/out > > a session id. > > So my index page would basically set the session. Ok. But > what if someone uses the back button to go back to this > page. The problem I am experiencing will still occur... > > > (I don't recommend 0 seconds for a refresh tag b/c it > > effectively disables the back button to get past your site). > > I'm not sure what you meant by the above... Why not use your index page to start the session and register any variables needed then, and then use a header("Location ... to send them to a new page where they actually see stuff?

« previous php.general (#19374) next »