Nope thats not they way....
If you don't specify a expire date it will live for ever or until you delete
The only way is to set it with an expiry date and then it will delete
it'self when the browser closes.
Check this by running a file on the same domain with phpinfo();
"Alexander Ross" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can I set a cookie which expires when the borwser is closed?? How can
> delete a cookie via PHP?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php