
|
email this FAQ to a colleague
Q:
The life of the cookie is only for the current IE
session. If I shut down IE and re-open it, the cookie is gone. How do I control the expiration date of the cookie ?
A:
After you set the cookie, also set the expiration date. Here is how to do both:
Response.Cookies("mycookie") = "Y"
Response.Cookies("mycookie").Expires = "December 31, 1999"
- Wayne Berry
|
Articles
|
|
|
|
|
Jun 23, 1997 - Cookies and The Web: The Goal is Rich Interactivity
|
|
|
Responding to the legitimate concerns of Internet consumers, a diverse group of web developers has voluntarily formed an ad-hoc team and prepared the following article. The accompanying technical paper includes explanations of the underlying technologies, the role of cookies, discussions of the positive and negative ramifications of this technology, and selected references on this and related topics.
[Read This Article] [Top]
|
|
|
|
Apr 22, 1997 - Active Server Components with VS 5.0
|
|
|
A rewrite of part one of a four-part series on Active Server objects. A simple example of creating a Active Server Component in Visual Studio 5.0 using the Active Template Library 2.0. The example component retrieves the user's cookie, if not available issues a new 128-bit cookie. Included in the issue is the source code and step by step instructions. This issue has been rewritten to illustrate the use of Visual Studio 5.0 and ATL 2.0 in writing Active Server Components.
[Read This Article] [Top]
|
|
|