> David
> > problem is, the cookie only comes into effect after I've clicked thru to
> > another page from login.php...any ideas on this?

Sure - it's because of the way the http protocol works.
If you've just set a value in a cookie, why do you need to read the cookie back
in order to check the value? You already have the value since you only just put
it into the cookie in the first place.

PHP Database 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