Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cookies and Active Server Pages

Posted on 1997-07-08
1
Medium Priority
?
177 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 200 total points
ID: 1854413
Response.Cookies.Expires should be in GMT format.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

972 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