note 15880 added to features.cookies

From: Date: Sat, 06 Oct 2001 14:38:53 +0000
Subject: note 15880 added to features.cookies
Groups: php.notes 
Request: Send a blank email to php-notes+get-18637@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); ----------------- -- http://www.php.net/manual/en/features.cookies.php http://master.php.net/manage/user-notes.php?action=edit+15880 http://master.php.net/manage/user-notes.php?action=delete+15880 http://master.php.net/manage/user-notes.php?action=reject+15880

« previous php.notes (#18637) next »