My experience with cookies that have no expiration date has not been as
successful. It seems that (in IE6 anyway) the behavior is inconsistent.
Sometimes the cookie would last until I closed the browser, sometimes the
cookie would expire in the middle of the session for no apparent reason.
This behavior may not occur in other browsers though. I'd test the cookies
with the browser(s) that you will be using for your application.
Lee
richard.mail@so
fthome.net To: [EMAIL PROTECTED]
cc:
07/10/2002 Subject: [PHP] Re: cookies
09:58 AM
Alexander Ross writes:
> How can I set a cookie which expires when the borwser is closed?? How
can I
> delete a cookie via PHP?
>
> Thanks
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
simply give it no experation time.
then it will expire when your browser is closed :)
( and yes it works, i use it to )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php