note 15879 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 22:13:17 +0000
Subject: note 15879 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19821@lists.php.net to get a copy of this message
TO CHANGE PAGE (Header: Location) - BUT MAINTAIN SESSION FOR NON-COOKIE PEOPLE: $nextpage = "/viewcart"; $nextpage .= "?" . session_name() . "=" . session_id(); header ("Location: " . $nextpage); ----------------- OR - IF YOU'RE ALREADY CHECKING TO SEE IF THEY HAVE COOKIES OR NOT, SOMEWHERE ELSE... $nextpage = "/viewcart"; if ($nocookies) { $nextpage .= "?" . session_name() . "=" . session_id(); } header ("Location: " . $nextpage); -----------------

« previous php.notes (#19821) next »