note 14718 deleted from function.setcookie by imajes

From: Date: Wed, 30 Jan 2002 05:43:58 +0000
Subject: note 14718 deleted from function.setcookie by imajes
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-26009@lists.php.net to get a copy of this message
All solution i have seen here that say to force a reload(header Location or Redirect) _inside_ the script do not fix the probleme. In fact, it just IE that do not send cookie to index. for exemple, http://host/index.php and http://host/other_file.php whill both recive the cookie but not http://host/. Even if you get the content of index.php displayed, IE while not send the cookie. This do not happend whit netscape. Solution is to place a index.php into each dir whit only an header location to the main file of that dir It prevent werd stuf that can confuse the user. btw link on web site should allway point to a file.

« previous php.notes (#26009) next »