logof user dosnt work! cookie deleted, but still nothing!
Posted: Sun Apr 18, 2004 11:19 am
Hi!
Im creating a user login script, but I have a problem!!! The default page checks if user hase a cookie, if he dosnt then he get this:
Welcome Guest, you may login or register
When user clicks login and logins with hes username and password and returns to default page he get cookie and this:
Welcome Username.
When I open my cookie folder and delete that cookie, and refresh default page, It still shows Welcome Username., but when I close IE and run it again and when I run defualt page it shows Welcome Guest, you may login or register. After re-rining IE it works, but why dosnt it work after deleting the cookie and clicking refresh?? How to make user logoff script!! I have no idea!!! Thank You!!!
Im creating a user login script, but I have a problem!!! The default page checks if user hase a cookie, if he dosnt then he get this:
Welcome Guest, you may login or register
When user clicks login and logins with hes username and password and returns to default page he get cookie and this:
Welcome Username.
When I open my cookie folder and delete that cookie, and refresh default page, It still shows Welcome Username., but when I close IE and run it again and when I run defualt page it shows Welcome Guest, you may login or register. After re-rining IE it works, but why dosnt it work after deleting the cookie and clicking refresh?? How to make user logoff script!! I have no idea!!! Thank You!!!