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% :)

>>>How 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 ?
>>>

--
Yasuo Ohgaki


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to