I need to implement some logic on session timeout event.
I tried to create object which implements HttpSessionBindingListener
interface.
But if I include javax.servlet.http.* class ,
I can not use session object in <xsp:logic>
even like
String po = (String) request.getSession(true).getAttribute("co");
it gives error:
Explicit cast needed to convert org.apache.cocoon.environment.Session to
javax.servlet.http.HttpSession.
if I cast like session = (HttpSession)request.getSession(true) it
does not help.
How can I put my bind to listener object to Cocoon session?
Thank you.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>