s*****i 发帖数: 650 | 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 | f********h 发帖数: 149 | 2 use session. After user logout, let the session expire.
【在 s*****i 的大作中提到】 : 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
|
|