Check this.
http://terrajava.blogspot.com/2009/03/handling-dwr-session-timeouts.html

you may have to write a filter.


Attila wrote:
> 
> Hi,
> 
> I've a big problem with DWR and http session. My Appfuse is 2.0.2
> JSF/Hibernate with a lot of DWR calls.
> 
> After the http session is expired (I've set it to one -1- minute to test),
> when I made a DWR call, all of my beans are null (because of session is
> terminated), except the bean waht I call from DWR.
> 
> DWR calls does not renews (updates) the http session timeout. I need that
> DWR calls renews the session or die (redirect?) after session is expired.
> 
> How can I do it manual? Or how can I setup spring or DWR to renew the
> session?
> May I write a listener or filter, or redirect any listener/filter to DWR
> calls? I haven't cloo, please help me.
> 
> The main goal is, that DWR renews the http session and after the session
> is expired redirect user to login page or even better make DWR
> authentication.
> 
> Please help, urgent
> 
> Thanks
> Bye, bye
> 

-- 
View this message in context: 
http://www.nabble.com/DWR-%28AJAX%29-and-Session-timeout-renew%2C-how----URGENT-tp21351268s2369p22745174.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to