|
-
Mar 15th, 2001, 02:00 AM
#1
Thread Starter
Lively Member
Hi again.
I would like to know. If the user log off your site. How do you stop him (or the website) not to go back (click the back button or with his history)
Thanks
-
Mar 15th, 2001, 03:34 AM
#2
Lively Member
i hope u r maintaning some id like userid to keep track of the user...so when the user logs off set this userid to 0 or make it empty....and in all u'r screens (ofcourse other than the login screen) check for a non-zero or non-empty userid before showing !!!
Hope this helps !!!
-
Mar 15th, 2001, 03:49 AM
#3
Thread Starter
Lively Member
Thanks for the reply.
The problem I had was. I set the userID = "" and in my include files I check the userID.
But when I log off, i exit the system. But then I press back on my brower and then I'm back in. Can see all my pages i visited. It is like i never left the site.
Is it with my code, or with IIS maybe?
-
Mar 15th, 2001, 05:12 PM
#4
Frenzied Member
Assuming your storing the userID in the session object, you should use Session.Abandon in your logoff page.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|