当会话超时时,我重定向到登录页面。我需要,登录用户名是否是相同的用户名,在会话超时之前登录,然后页面将从登录页面重定向到上一个用户访问的页面。
例如,
User name is Admin, when this user is open ContactUs.jsp, after the session timeout the page will be redirect to login.jsp, In login.jsp whether the same Admin user is logged in then, the page is redirect to ContactUs.jsp instead of home.jsp.
提前致谢。