How to control the Back, Forward...# Java - 爪哇娇娃
s*i
1 楼
Hi, how to control the Back and Forward, Refresh button on Internet explorer.
For example, if we have a login.jsp ,
on this page, I ask user to input UserId and Password and then forward the form data to backservlet.java ,
if the user is valid, dispatch the output to a data.jsp file.
On the data.jsp file, I put a logout button there so if user press the logout button, I will destroy the session and go to logout.jsp.
the problem is: If the user use BACK button on the IE header(This is a explore
For example, if we have a login.jsp ,
on this page, I ask user to input UserId and Password and then forward the form data to backservlet.java ,
if the user is valid, dispatch the output to a data.jsp file.
On the data.jsp file, I put a logout button there so if user press the logout button, I will destroy the session and go to logout.jsp.
the problem is: If the user use BACK button on the IE header(This is a explore