Cookie Expire

Results 1 to 2 of 2

Thread: Cookie Expire

  1. #1
    Corin Guest

    Default Cookie Expire

    I want a cookie to be retained for 90 after todays date, all of these have failed.<BR><BR>Response.Cookies("myCookie").Expire s = Date() + 90<BR><BR>or <BR><BR>Response.Cookies("myCookie").Expires = Date + 90<BR><BR><BR>I cannot set the date as I don&#039t want to be resetting it every day.<BR><BR>Thanks in advance<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookie Expire

    Try this:<BR><BR>Response.Cookies("cookie").Expires = DateAdd("d", 60, Date)

Posting Permissions

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