Re: Re: How to disable access to the site
| From: | Yasuo Ohgaki | Date: | Mon, 27 Aug 2001 08:06:33 +0000 |
| Subject: | Re: Re: How to disable access to the site | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64595@lists.php.net to get a copy of this message | ||
Yasuo Ohgaki wrote:
Andre Lacour wrote:Oops, my english broken. My English broken all the time, though :) Anyway, we need to "redirect" once to be sure, since broken browsers do not send cookie for the initial request sometimes. -- Yasuo Ohgakiif (!isset($HTTP_COOKIE_VARS[$cookiename])) exit();This may work, but it could result unwanted behaviour for broken browsers that do not send cookie correctly. Some broken browsers do not send cookie first time sometimes. We need to direct once to make sure.