Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Cookies and Active Server Pages

Posted on 1997-07-08
1
165 Views
Last Modified: 2013-12-25
I am using Cookies with Active Server Pages to save client information.  I use the Response.Cookies("name")="Joe" to write the cookie and Name=Request.Cookies("name") to read the cookie.  Everything works fine accessing the cookie info within a session, but if the client closes his browser and comes back, the cookie info is lost.  I've played with the Response.Cookies.Expires=nn code, which makes the cookies not work at all.

So how does one write a semi-permanent cookie that can be accessed at a later time with ASP/VBScript? Or at least one that expires at a given time in the future?

Thanks - eric@txhwy.com
0
Comment
Question by:ebuescher
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 100 total points
ID: 1854413
Response.Cookies.Expires should be in GMT format.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

856 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