• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

Small Cookie question

How to have the Browser auto delete the Cookie when I close it.
I means I want to use Cookies to share some global information during a session. When the user close the Browser, I do not hope any cookie stored on the client side.

Thanks.
0
jonalee
Asked:
jonalee
  • 2
1 Solution
 
fasterCommented:
When you set the cookie you can set when it is to expire, if you don't specify it, it will expire after  the session terminates, i.e. after use close browser.
0
 
fasterCommented:
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now