I am using Tomcat Realms for authorization. I
implement a "logout" by simply calling the
invalidate() method of a session. This worked fine
when my app was all JSP.
However, now when I do that within JavaFlow, I get an
internal server error. Here are the details:
----------------------------
Message: setAttribute: Session already invalidated
Description: java.lang.IllegalStateException:
setAttribute: Session already invalidated
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
----------------------------
This occurs after I do a "sendPage" to send the flow
to an internal pipeline. I've determined that my call
to invalidate() is fine, but somewhere along the line
setAttribute() is called internally. My internal
pipeline is simply aggregating xml files. I am sure
I'm not calling it in any code.
So, my question is, where (and why) is cocoon trying
to set an attribute on the session? Is there another
way I can perform a logout?
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]