One reason could be that after invalidating the session you are trying to
either remove a session attribute.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: Mike LaBudde <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 17, 2000 8:48 PM
Subject: session.invalidate() causes internal servlet error


> I'm trying to invalidate the session object (to effect a logout). When I
do
> it causes the following error:
>
> <snip>
> java.lang.IllegalStateException: removeAttribute: Session already
invalidated
>          at
>
org.apache.tomcat.session.StandardSession.removeAttribute(StandardSession.ja
> va, Compiled Code)
>          at
>
_0002findex_0002ejspindex_jsp_2._jspService(_0002findex_0002ejspindex_jsp_2.
> java:63)
>          at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
>          at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>          at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:172)
>
> </snip>
>
> Does anybody know what I'm doing wrong/how to accomplish this?
>
> TIA,
>
> Mike
>
>
> /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - */
>   Michael H. La Budde           email:  [EMAIL PROTECTED]
>   Prosoft, Inc.                         phone:  414-860-6509
>   [EMAIL PROTECTED]                 fax:    414-860-7014
> /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - */
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to