ASP Cookies

Results 1 to 2 of 2

Thread: ASP Cookies

  1. #1
    Join Date
    Dec 1969

    Default ASP Cookies

    How do I set an ASP Cookie (WITH KEYS) to have an expiry date?<BR>The cookies are stored under a collection called basket (ie response.cookies("basket")("user") = session("userid")<BR><BR>I have tried response.cookies("basket").Expires = now()+7<BR><BR>but when i close the browsers and restart, it&#039;s gone!!<BR>I can&#039;t response.write request.cookies("basket").Expires either!<BR>PLEASE SOMEONE, HELP ME!!!!

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP Cookies

    response.cookies("basket").expires = date + 1<BR>expires tomorrow <BR>not sure about [now]

Posting Permissions

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