Cookie Problem, please help

Results 1 to 2 of 2

Thread: Cookie Problem, please help

  1. #1
    Join Date
    Dec 1969

    Default Cookie Problem, please help

    When I set up cookies on my local machine it works fine, but when I push the same file to Development Server though it sets up a cookie on my local machine, it doesn&#039t recognize them, and says No Cookies, why is this strange behaviour, Thanks for any information. I am setting up cookis like this.<BR>Response.Cookies("UserID") = UserID<BR>Response.Cookies("UserID").Expires = Date()+30<BR><BR>If Request.Cookies("UserID") = "" Then<BR> Response.Write "No Cookies"<BR>Else <BR> Do the stuff&#039 Display page<BR><BR>End If

  2. #2
    Steve Cimino Guest

    Default RE: Cookie Problem, please help

    How sure are you that the VARIABLE UserID has a value in it?<BR><BR>Response.Write UserID<BR>If.. &#039the rest of your stuff. See if UserID is indeed full.

Posting Permissions

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