Cookie Help

Results 1 to 3 of 3

Thread: Cookie Help

  1. #1
    Join Date
    Dec 1969

    Default Cookie Help

    This simple cookie isn&#039;t working:<BR><BR>theFlash = request.Cookies("theFlash")<BR>if theFlash = "yes" then response.redirect("frames.html")<BR><BR>Response.C ookies("theFlash") = "yes"<BR><BR>Response.Cookies("theFlash").Expi res = Now() + 30<BR><BR>When I return to the page the subsequent code still executes even though the cookie should cause a redirect.<BR><BR>

  2. #2
    amogh Guest

    Default RE: Cookie Help

    What happens if You write the cookie as :-<BR>response.write(request.Cookies("theFlash"))<BR >Are you getting "yes" on your browser.<BR>Check this first.<BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Cookie Help

    you have not set any cookie values<BR><BR>Response.Cookies("theFlash")("theval uename") = "yes"<BR><BR>Response.Cookies("theFlash").Expi res = Now() + 30<BR><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