session is not refreshing for ajax4jsf request

View: New views
1 Messages — Rating Filter:   Alert me  

session is not refreshing for ajax4jsf request

by chennaraoeda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
In our project we are using richfaces 3.2 with myfaces 1.2.2
Application server is JBoss 4.04(Clustered mode)
Session timeout is declared as 30 mins in web.xml

After succesful login , If user is idle for 30 mins session should be invalidated and should show login page.
But it is not happening in case of ajax requests.

Here is a secnario.
If user in a page (main.jsf) after 25 minutes of idle time, if he click a seach button which is a4j:commandButton,he gets some
search result.Since it is ajax button ,only partial page is refreshed..
Again after 5 mins if user clicks any other link, session is getting expired.
User expects his session will be refreshed as he made some request 5 minutes before..

We are using cookies to maintain session.
How jboss invalidate session?
why jboss not refreshing session for ajax request?

Kindly advise..
Thanks in advance...