Results 1 to 2 of 2

Thread: cookies

  1. #1
    Join Date
    Dec 1969

    Default cookies

    i am trying to redirect the user if a cookie is detected but im haveing trouble any ideas<BR><BR>&#060;% if request.cookies("smslogin") = true then<BR>response.redirect "sendsms.asp"<BR>end if<BR>%&#062;<BR><BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: cookies

    You need to put a value in your Cookie in order to detect if its there.<BR><BR>So, when you create the cookie, Pesponse.Cookies("SMSlogin") = "yes"<BR><BR>then to check<BR><BR>if request.Cookies("SMSlogin") = "yes" Then<BR>Response.redirect<BR>End if<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