note 15880 deleted from features.cookies by jimw

From: Date: Thu, 20 Dec 2001 21:20:15 +0000
Subject: note 15880 deleted from features.cookies by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23431@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 (#23431) next »