>From the stack trace of your error I see a struts class in there. I'd guess it assumes the session exists. Struts stores the users locale there - It seems odd that you would want to invalidate the session here. Keith.
--- Nicolas_Paris� <[EMAIL PROTECTED]> wrote: > Hi Rakesh, > > Here a piece of my code, > > <html> > <% > session.invalidate(); > %> > > <html:form method="post" action="/saveClientAction"> > ... > </html> > > > here is the error message from Resin: > > java.lang.IllegalStateException: session is invalid > at > com.caucho.server.http.QSession.getAttribute(QSession.java:262) > at > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:535) > at _widget1__jsp._jspService(/app1/widget1.jsp:48) > at > com.caucho.jsp.JavaPage.service(JavaPage.java:87) > at > com.caucho.jsp.JavaPage.subservice(JavaPage.java:81) > at com.caucho.jsp.Page.service(Page.java:398) > at > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:166) > at > com.caucho.server.http.Invocation.service(Invocation.java:272) > at > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128) > at > com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:216) > at > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158) > at > com.caucho.server.TcpConnection.run(TcpConnection.java:140) > at java.lang.Thread.run(Thread.java:484) > > > > Thank you > ----- Original Message ----- > From: "Rakesh" <[EMAIL PROTECTED]> > Newsgroups: Struts > To: "Struts Users Mailing List" > <[EMAIL PROTECTED]> > Sent: Monday, December 17, 2001 11:26 PM > Subject: Re: Invalidating a session > > > > Can you please elaborate on the error message that > you got ? > > Were you trying to access any attribute from the > session after the point > > where you invalidated it ? > > > > --Rakesh > > ------------------------------------------- > > > > ----- Original Message ----- > > From: "Struts Newsgroup" > <@[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, December 18, 2001 9:40 AM > > Subject: Invalidating a session > > > > > > > Subject: Invalidating a session > > > From: "Nicolas Paris�" > <[EMAIL PROTECTED]> > > > === > > > Hi, > > > > > > I got error message when I invoke > session.invalidate() inside > > > JSP page that contains Struts form tag, any1 can > help me? > > > > > > Thank you > > > > > > Nicolas > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

