Solved

logout

Posted on 2004-04-11
5
2,122 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set up Wildfly 10 8 358
authenticate preemptively soap ui option 3 123
sortaSum challenge java 17 171
approach on java challenges Approach on java challenges or real world challenges 29 159
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now