note 724 deleted from function.setcookie by imajes

From: Date: Sat, 06 Apr 2002 21:50:30 +0000
Subject: note 724 deleted from function.setcookie by imajes
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28781@lists.php.net to get a copy of this message
a few notes: MSIE v3.*: same problem as noted above for netscape. will not accept cookies unless there is a time and path set. domain can be null it seems. MSIE v4.*: ive been using Location and Set-Cookies within the same code and both 4.* and 3.* process both correctly. it may only work for local addresses, but it works for local addresses even if they have the full "http://the.same.computer/file.html" expanded url. Cookies can not be read in the same page they are set in because PHP parses cookies when the page loades. if you need to use the cookie variable in the same page, manually set a variable $cookie_name = $what_you_used_in_SetCookie.

« previous php.notes (#28781) next »