[jboss-user] [JBoss Seam] - Seam Remoting - ajax request after session expires
urosmil
do-not-reply at jboss.com
Fri Aug 3 07:53:25 EDT 2007
Hi,
after session expires I can access bean with Seam Remoting (as I understand new bean is created). Problem is that other necessary beans are not there. I would like to redirect page from which ajax request is sent if session is expired.
What is preferred way with Seam to handle this?
I am thinking to extend ResourceServlet and return something like:
<envelope><header><context></context></header><body>
| <redirectPage to="/login.jsf"> <-- This is important part
| </body></envelope>
if session is expired. But can I intercept Seam Remoting response in javascript?
Thanks,
Uros!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070519#4070519
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070519
More information about the jboss-user
mailing list