session invalidate issue
843841Jan 8 2006 — edited Jan 16 2006Hi,
I am running tomcat 5.5.12 on linux.
I am getting the following error when I try to login to my application. it gives error in the
s.invalidate() method.
java.lang.IllegalStateException: getId: Session already invalidated
org.apache.catalina.session.StandardSession.getId(StandardSession.java:328)
.......
........
the code segment which gives the error is as follows
final HttpSession s = request.getSession(false);
if (s != null) {
s.invalidate();
}
tomcat 5.5.12 is of servet specification 2.4
I just installed tomcat only did not do any configuration at all. just deployed my app.
Waiting for a reply.