Solved

Small Cookie question

Posted on 1998-09-13
2
168 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
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 strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now