Discussion:
DWR (AJAX) and Session timeout renew, how? - URGENT
Attila
2009-01-08 12:55:46 UTC
Permalink
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-tp21351268s2369p21351268.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Attila
2009-01-13 06:00:49 UTC
Permalink
Nobody knows?
Post by Attila
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-tp21351268s2369p21429970.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Sipatha
2009-01-14 05:10:03 UTC
Permalink
Just thinking, what if when you make the DWR call, also add some session
attribute specifically for this, i think the application server should
restart the expiry counter if there is some activity in the session.
Sipatha
___________________________________________________________________________________________
Post by Attila
Nobody knows?
Post by Attila
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),
Post by Attila
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
--
http://www.nabble.com/DWR-%28AJAX%29-and-Session-timeout-renew%2C-how----URGENT-tp21351268s2369p21429970.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
Attila
2009-01-14 10:47:38 UTC
Permalink
What do You mean about "session attribute specifically for this"?

Can You tell me in details? Please.

Thank You
Post by Sipatha
Just thinking, what if when you make the DWR call, also add some session
attribute specifically for this, i think the application server should
restart the expiry counter if there is some activity in the session.
Sipatha
___________________________________________________________________________________________
Post by Attila
Nobody knows?
Post by Attila
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),
Post by Attila
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
Post by Attila
DWR calls renews the session or die (redirect?) after session is
expired.
Post by Attila
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
Post by Attila
calls? I haven't cloo, please help me.
The main goal is, that DWR renews the http session and after the
session
Post by Attila
is expired redirect user to login page or even better make DWR
authentication.
Please help, urgent
Thanks
Bye, bye
--
http://www.nabble.com/DWR-%28AJAX%29-and-Session-timeout-renew%2C-how----URGENT-tp21351268s2369p21429970.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/DWR-%28AJAX%29-and-Session-timeout-renew%2C-how----URGENT-tp21351268s2369p21453612.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
xeusman
2009-03-27 16:41:52 UTC
Permalink
Check this.
http://terrajava.blogspot.com/2009/03/handling-dwr-session-timeouts.html

you may have to write a filter.
Post by Attila
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.
Attila
2009-04-08 14:56:57 UTC
Permalink
Thank You very much, sorry for late answering...

Bye, bye
Post by xeusman
Check this.
http://terrajava.blogspot.com/2009/03/handling-dwr-session-timeouts.html
you may have to write a filter.
Post by Attila
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-tp21351268s2369p22952325.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
Loading...