Hi guys, have just me mucking around with making a customized change-profile page. I have built it from scratch so I could design all the elements to fit with the rest of the site (and have the added details I wanted there). The logon routines all work, and the page itself functions okay, ...my problem is I have been trying to use the snitz cookie to govern the data that is populated in the relevent fields on the page (e.g if joeblogs logs on, that it looks at the cookie, see's his username there, and then brings up his details). I am a newbie at ASP, so any comments would be greatly appreciated, I have been using variations on this line of code for setting my name variable:
is that correct? Basically if I put a known user name string in there such as:
pipUserInfo__name = "joeblogs"
the page works as it should and brings up that users details. I have checked the page to make sure the cookies are working (by using the line javascript:alert(document.cookie); I can see the snitz00 cookie is active and the user name is there.
Thanks!!! Thats worked perfectly!! ...knew it had to be a good old case of, as technicians call it, PEBCAK ("problem exists between chair and keyboard") Thanks again for such a quick response.
Did you change the unique forum name (strUniqueID) in config.asp to something other than 'Snitz00'? If you did you'll need to use that instead of Snitz00...
ForumName = Request.Cookies("whateverthevalueofstrUniqueIDisUser")("Name") Response.Write "<p>It's " & now() & " and my forum name is " & ForumName & "!</p>"