Re: session cookies

From: Date: Thu, 01 Sep 2005 20:42:47 +0000
Subject: Re: session cookies
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-221722@lists.php.net to get a copy of this message
Jasper Bryant-Greene wrote:
Philip Hallstrom wrote:
Then use an HTML meta refresh (or javascript, just not Header("Location...) to redirect them to another page.
Why not header("Location...")? Just out of interest -- it's always worked for me, and it's a much better way to redirect users for many reasons[1] (like not breaking the back button). [1] http://www.w3.org/QA/Tips/reback
Because if you just re-direct to a new location then the cookie that you have also set in the headers will not reach the client. Mikey

« previous php.general (#221722) next »