Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove cookies when the browser is closed? [duplicate]

Possible Duplicate:
Clear cookies on browser close

When I close the browser, I want to remove cookies. How can I do this?

like image 519
Osama khodrog Avatar asked Feb 13 '11 17:02

Osama khodrog


1 Answers

If you don't set an expiry date it defaults to expire at the end of the session . Refer this links -

jscookies

like image 135
Nick Avatar answered Oct 03 '22 21:10

Nick