• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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