Wrox Programmer Forums
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce 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 July 11th, 2003, 11:14 AM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cookies Duration

When a value is stored in a session object, how long is the cookie life (ref. Active Server Pages 3.0, chapter 26)?
Will the cookie be deleted once the session times out?
Is the cookie in a file located on the local browser PC's hard drive?

 
Old August 5th, 2003, 10:52 AM
Authorized User
 
Join Date: Aug 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Cookies are usually written onto the client browser, its totally session independent, you can manipulate when you want the cookie to be expired, for example you can do something like this for the cookie not to expire ever!

Response.Cookies("name").Expires = Date + 365

and yes the cookie is located on the local browser pc's hard drive, do this
 goto tools->settings->view files

all the cookies are stored with a prefix of cookie.

Chints.





Similar Threads
Thread Thread Starter Forum Replies Last Post
days-from-duration Dinghus XSLT 1 November 21st, 2007 04:05 AM
seconds-from-duration outspaced XSLT 2 April 3rd, 2007 08:51 AM
date duration urgent rjkulkarni2001 ASP.NET 2.0 Professional 0 January 9th, 2006 06:11 AM
duration between dates rjkulkarni2001 Classic ASP Basics 1 January 5th, 2006 07:19 PM





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