Results 1 to 2 of 2

Thread: cookies expire...!

  1. #1
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    203
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default cookies expire...!

    i'm using cookies on a few occasions to store some basket information... but although i set an expire date into the future, this seems to get reset to 01 January 0001 on simply refreshing the browser...

    any ideas?

  2. #2
    Join Date
    Jun 2005
    Location
    Tunbridge Wells, Kent
    Posts
    203
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    answered my own question, can i thank myself?!

    Changing a Cookie's Expiration Date

    The browser is responsible for managing cookies, and the cookie's expiration time and date help the browser manage its store of cookies. Therefore, although you can read the name and value of a cookie, you cannot read the cookie's expiration date and time. When the browser sends cookie information to the server, the browser does not include the expiration information. (The cookie's Expires property always returns a date-time value of zero.) If you are concerned about the expiration date of a cookie, you must reset it, which is covered in the "Modifying and Deleting Cookies" section.

    LINK: http://msdn2.microsoft.com/en-us/library/ms178194.aspx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Windows server 2003 and cookies
    By Spire in forum General Technical Support
    Replies: 8
    Last Post: 15th September 2006, 04:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •