On Tue, Jul 23, 2002 at 06:06:08PM +0100, David Mulligan wrote: > Everthing works just fine on Tomcat 4.0.3 and Websphere. > But for some strange reason the HttpSession I create in my LogonAction loses > an attribute (The UserBean) in the next request (only with Resin)!
Are there any JSPs involved in your testing? They always seem to create a session when they start up. If for some reason (short timeout or otherwise) the initial session you created and put the user bean into was invalid when a JSP started, it would create a new (empty) session, which could be what you're seeing in that second servlet. The locale attribute probably comes from a <html:html locale="true"> tag in your JSP (assuming you are using a JSP). Do try and set the session timeout in web.xml (as you mentioned).. a very short session timeout is one possible explanation for what's going on. I don't know if this will help you solve the problem, but that's my best guess at what's happening to your session. Good luck with it! -- Jonathan Fuerth - SQL Power Group Inc. (416)218-5551 (Toronto); 1-866-SQL-POWR (Toll-Free) Unleash the Power of your Corporate Data - http://www.sqlpower.ca/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

