rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
SpookyLogin: Can't write cookie correctly - 4/4/2001 14:02:00
Hi Again Spooky,I'm frequenting this forum quite a bit lately since I'm still a beginner with ASP. Also, I would like to comment on what a tremendous help Spooky Login has been for me. I feel it is worth the money just to use it for the programming examples! However, I do have 1 question about the cookies: Where are the routines to form the cookie string located? ..is it "Sub setCookie" in a_general.asp? If so, Is there somewhere else affecting it, 'cause I'm not building the whole string, just part of it. My SetCookie section is as follows: Sub SetCookie Response.Cookies(COOKIE_NAME).expires = #1/1/2010# If Username <> "" then Response.Cookies(COOKIE_NAME)("T1aUs") = Username If T2 <> "" then Response.Cookies(COOKIE_NAME)("T2aPd") = T2 If x_firstname <> "" then Response.Cookies(COOKIE_NAME)("FirstName") = x_firstname If x_lastname <> "" then Response.Cookies(COOKIE_NAME)("LastName") = x_lastname If x_email <> "" then Response.Cookies(COOKIE_NAME)("xEmail")= x_email If x_address <> "" then Response.Cookies(COOKIE_NAME)("xaddress") = x_address If x_city <> "" then Response.Cookies(COOKIE_NAME)("xCity") = x_city If x_zip <> "" then Response.Cookies(COOKIE_NAME)("xZip") = x_zip If x_state <> "" then Response.Cookies(COOKIE_NAME)("xState") = x_state If aps_uid <> "" then Response.Cookies(COOKIE_NAME)("aps_uid") = aps_uid If isManager <> "" then Response.Cookies(COOKIE_NAME)("isManager") = isManager If dept <> "" then Response.Cookies(COOKIE_NAME)("dept") = dept End Sub It does seem to write a cookie, just not all of it. It writes FIRSTNAME, XEMAIL, LASTNAME, T2APD, and T1AUS. Nothing else discernable. I'm kinda' thinking it's not writing that line but some other default cookie. If that (section of a_general.asp) is not where it is done, where then specifically is the code located that builds the cookie? Any and all help is greatly appreciated...
|