There is obviously something else wrong.  That's the purpose of isset();

Comment out your line and see what happens.

I'd guess the real problem is later in your code when you are trying to do something with $HTTP_COOKIE_VARS["LoggedIn"] even though your isset() test said it didn't exist.

WeberSites LTD wrote:
I'm using this code to check if a cookie has a value : If(!IsSet($HTTP_COOKIE_VARS["LoggedIn"])) .... In case that this cookie is not set, how can i avoid the Undefined index: line in the error log? berber


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to