Jerald (or is it Gerald -- your email address and 'name' don't match),
Now sessionStatus is getting caught fine, but when I try and
redirect to a JSP after that, nothing happens. I originally tried
mapping.findForward (Struts), response.sendRedirect and forwarding
using RequestDispatcher. I have
Hi,
Its Gerald (long dull story), but you can call me anything you like.
I can now say with some surety, that the forward is not the problem. In a Struts
action, the null session is being picked up and the mapping.findForward(a_file.jsp);
(a Struts forward method) is forwarding on
Jerald,
session.setMaxInactiveTimeout(-1);
Yeah, this is a bad idea. The session will never go away by itself. This
*requires* the user to press a logout button, and for you to explicitly
call session.invalidate(). Users frequently do not log themselves out,
and their sessions will never
Hello, and thank you for that,
Yes, I am timing the session out and trying to handle the result. I have:
HttpSession objSession = request.getSession(true);
String sessionStatus = (String) objSession.getAttribute(sessionStatus);
if (sessionStatus == null) {
PS is the session time out linked wirth inactivity? My session attribute only persists
as long as I am using the app.
G.
-
Yahoo! Messenger - Communicate instantly...Ping your friends today! Download
Messenger Now