Solved

logout

Posted on 2004-04-11
5
2,125 Views
Last Modified: 2010-08-05
hi friends

  i am developing a simple website in jsp,
in that i am getting a problem with logout

here is the code
in logout

session.invalidate();

problems is after logout
 if user clicks back option in internet explorer ,he will get previous pages also  

i want to refresh the previous (back) pages also,
please solve this problem
0
Comment
Question by:amaranadh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
jkna_gunn earned 21 total points
ID: 10812030
put some code in that page to detect if the session is valid or not
if it is not then redirect the page to somewhere else


0
 

Expert Comment

by:ashsmash
ID: 10982010
you can make javascript for that. just put
<script>
forward.history
</script>
in your logout page.

0
 

Expert Comment

by:ashsmash
ID: 10982024
Sorry for the previous mail..It should be like:

<script>
      history.forward();
</script>
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Gain an elementary understanding of Blockchain technology.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question