Re: how to declare a cookie that will destroy after browser is closed
- From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 09:46:12 +0100
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
.
- Follow-Ups:
- References:
- Prev by Date: Re: Dumping an array to a web page
- Next by Date: Re: Group an array
- Previous by thread: how to declare a cookie that will destroy after browser is closed
- Next by thread: Re: how to declare a cookie that will destroy after browser is closed
- Index(es):
Relevant Pages
|