cookie expiration date

Results 1 to 2 of 2

Thread: cookie expiration date

  1. #1
    Join Date
    Dec 1969

    Default cookie expiration date

    I have the following code:<BR><BR>Response.cookies("isLoggedInAs").expi res =_<BR> #December 31, 2020 00:00:00#<BR><BR>Instead of hard coding the expiration to a specific date, I would like it to expire 90 days from the date it was set (Now). I&#039m sure this code is easy. Could someone help me with it?<BR><BR>THX!

  2. #2
    Join Date
    Dec 1969

    Default RE: cookie expiration date

    Response.cookies("isLoggedInAs").expires = _ &<BR>Dateadd("d",90,Date())<BR>

Posting Permissions

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