VP-ASP New User
Posted - November 15 2005 : 19:19:15
| Hello Folks,
VPASP version 4
I'm using some code I found on this forum to customize my cookie login. It works but I do have one problem.
I have cookie login enabled but if I close my browser and return even though the cookie logs me in properly it's not reflected in my customization.
In other words: even though I am logged in my customized message at the top of my home page is still asking me to log in.
If I use the refresh button on my browser the message will change and it will show that I'm logged in. It will then stay that way for the rest of the session.
Does anyone know what may be causing this? I appreciate any help I can get.
The code I'm using is listed below.
if loginid="" then
Response.Write "<font face='arial' size='2'> <b>Hello.</b> Already a customer? <a href='shopping/shopcustadminlogin.asp'>Sign in</a> for faster service.</font>"
fullname= GetSess("firstname") & " " & GetSess("lastname")
Response.Write "<font face='arial' size=2> <b>Hello, " & fullname & ".</b></font>"
Response.Write "<font face='verdana,arial' size=1> (if you're not " & fullname & ", <a href='shopping/shopend.asp?end=1'>click here.</a>)</font>"