Cookies.... I need Help

Results 1 to 2 of 2

Thread: Cookies.... I need Help

  1. #1
    Join Date
    Dec 1969

    Default Cookies.... I need Help

    I want to create some cookies for a login system on my site. I thought I had the code right, but it isn&#039;t working. What am I doing wrong? Heres my code:<BR><BR>&#039;Getting info from database<BR> LoginName = rsChecMember("Name")<BR> LoginPassword = rsChecMember("password")<BR> LoginPeopleID = rsChecMember("PeopleID")<BR> LoginEmail = rsChecMember("Email")<BR>&#039;send cookies<BR><BR> Response.Cookies("point")("Name") = LoginName<BR> Response.Cookies("point")("Email") = LoginEmail<BR> Response.Cookies("point")("Password") = LoginPassword<BR> Response.Cookies("point")("PeopleID") = LoginPeopleID<BR> Response.Cookies("point").Expires="Jan 1, 2010"<BR><BR>Thanks for your help in advance!<BR><BR>- Andrew

  2. #2
    Join Date
    Dec 1969

    Default RE: Cookies.... I need Help

    Explicitly, nothing appears to be wrong!<BR><BR>1. First of all make sure that your browser supports cookies.<BR>(I am sure you have have already done that).<BR><BR>2. I am not sure that the last line "Jan 1, 2010" works or not, may be your cookies are made and deleted as the date in this format is not interpreted. Try using like "January 10,2010"<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