Re: reclaiming memory problem PS

2004-03-04 Thread Christopher Schultz
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

Re: reclaiming memory problem PS

2004-03-04 Thread Jerald Powel
Hi, It’s 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

Re: reclaiming memory problem PS

2004-03-03 Thread Christopher Schultz
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

Re: reclaiming memory problem PS

2004-03-03 Thread Jerald Powel
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) {

Re: reclaiming memory problem PS

2004-03-02 Thread Jerald Powel
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