Results 1 to 2 of 2

Thread: Cookies

  1. #1
    Join Date
    Dec 1969

    Default Cookies

    First I have the following.<BR><BR>If Request.Cookies("MyCookie")("Music") = "" Then<BR> Response.Cookies("MyCookie")("Music") = Request.QueryString ("Music)<BR> Response.Cookies("MyCookie").Expires = Date + 365<BR>End If<BR><BR>this works fine. but the problem is. when I try to re-write the same cookie. For Example if the user wants to change the Music Cookie then it works some times and some time it doesn&#039;t. <BR><BR>How can I make this work all the time? Do I have to reset the cookie before updating it?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookies

    I don&#039;t believe you have to &#039;reset&#039; the cookie. Are you sure Request.QueryString("music") has a value?

Posting Permissions

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