Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2004, 10:17 PM
Authorized User
 
Join Date: Jul 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I get a cookie to expire....

If I want a cookie to expire in let say 7 days from the time it was set how can I do that...

Adina

 
Old November 22nd, 2004, 12:25 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default


Response.Cookies("someName").Expires = DATE + 7


Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to expire previous page johnsonlim026 ASP.NET 1.0 and 1.1 Basics 6 May 22nd, 2009 12:05 PM
what is session id and when does it expire nidhimittal PHP How-To 3 June 29th, 2006 05:17 AM
expire time isheikh BOOK: Beginning ASP 3.0 3 June 9th, 2004 09:08 AM
Page Expire Chris Marsh VS.NET 2002/2003 1 April 4th, 2004 12:02 AM
asp cookies expire chrisneozion12 Classic ASP Basics 2 January 19th, 2004 03:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.