|
Posted by Erwin Moller on 01/31/07 08:46
Amar wrote:
> Hi all,
>
> I want to use a cookie that will destroy after closing the
> browser, in my application.
> I am able to destroy my cookie after log out,but don't know how to
> destroy this when I will close the browser.
> Please help me.
>
> Amar
Hi Amar,
Change in php.ini, or use ini_set().
Look for:
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
Regards,
Erwin Moller
[Back to original message]
|