aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cookies" Watch "Cookies" New topic
Author

Cookies

chandan gavai
Greenhorn

Joined: May 03, 2005
Posts: 3
hi,
In Javascript, i want to expire cookies on browser close event.

Thanks in advance,

Chandan G.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you do not specify an expire time, the cookies are session cookies and they expire when the browser is closed.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Cookies