Re: Re: How to disable access to the site
| From: | Yasuo Ohgaki | Date: | Mon, 27 Aug 2001 07:57:02 +0000 |
| Subject: | Re: Re: How to disable access to the site | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64591@lists.php.net to get a copy of this message | ||
Andre Lacour wrote:
if (!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. This works somewhat, but not 100% :)
-- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.comHow to disable access to the entire site if the cookie is not set ? Can we disable access entirely with some kind of a script which checks before it allows access ?