[thelist] ASP Newbie Cookie Timeout Probs

Anthony Baratta Anthony at Baratta.com
Wed Jan 29 13:01:01 CST 2003


At 10:31 AM 1/29/2003, Christopher Ditty wrote:
>Hello all.  Can someone tell me how to make a cookie expire in ASP in say
>10 minutes instead of 1 day?  Below is the code that I am using..
> From what I have been able to find, you have to set the date and time in
> the cookie.  Does that mean that I have to create a variable and create
> my date/time and then put it in the Expires?

Here's a quick hack. Just use a .0069 instead of 1. That's approx 10
minutes of a day.
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list