Click here to Skip to main content
15,910,877 members

Comments by alybin (Top 2 by date)

alybin 23-Aug-13 8:25am View    
I want to save the attribute "userName" before calling 'invalidate' or 'removeAttribute', but it lost after redirect to next page or reload.
alybin 23-Aug-13 8:18am View    
My next page code
<%
String name = (String) session.getAttribute("userName");
if (name == null) {
response.sendRedirect("view/jsp/login.jsp");
} else {...
%>