Closed jerustes closed 6 years ago
<%session.invalidate();%> <% HttpSession nsession = request.getSession(false); if(nsession!=null) { String data=(String)session.getAttribute( "fname" ); out.println(data); } else out.println("Session is not active"); %>
done. look at it just to see if we have to add anything else.
<%session.invalidate();%> <% HttpSession nsession = request.getSession(false); if(nsession!=null) { String data=(String)session.getAttribute( "fname" ); out.println(data); } else out.println("Session is not active"); %>