Solved

Small Cookie question

Posted on 1998-09-13
2
172 Views
Last Modified: 2013-12-25
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
Comment
Question by:jonalee
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
ID: 1828620
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
 
LVL 7

Expert Comment

by:faster
ID: 1828621
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question