• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

Logout From A site

How Can A person Write Logout script using asp so that whenever one logsout,someone else can not see information used by actual person like HOTMAIL has Incorporated?
0
viping
Asked:
viping
1 Solution
 
MasseyMCommented:
First, they would have to be logged in... YOu would then set the variable that you were using to null rather than "verified" or a username/password combination...

Another way is to use sessions... What you would do is to "expire" the current session that the user is logged into and then when information is accessed, it will check the session.. . It will notice thatthe session no longer exists and ask for a relogin...


0
 
vipin072998Commented:
I have tried it out but its not working .B'coz as person goes back and reloads the data everything comes back and he can do anything with it. There is no way we can remove the goback history and clear out the session variable.
Please supply me some code for getting this done.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now