-
1. Re: Session Timeout when check box clicked
sunkaram Mar 14, 2012 5:14 PM (in response to nkiboti)FacesContext.getCurrentInstance().getExternalContext().getSession().
setMaxInactiveInterval(30*60) resets the session for another 30 mins..
-
2. Re: Session Timeout when check box clicked
nkiboti Mar 14, 2012 5:32 PM (in response to sunkaram)Maheswara, Thanks so much for your quick response. setMaxInactiveInterval() will only change the timeout session which would increase the number of concurrent sessions, increases the memory and resource requirements. I am looking for a away to reset time when a user clicks on a checkbox.
-
3. Re: Session Timeout when check box clicked
sunkaram Mar 14, 2012 5:38 PM (in response to nkiboti)I didn't get what exactly you want to reset? It should be session timeout..
-
4. Re: Session Timeout when check box clicked
nkiboti Mar 14, 2012 5:46 PM (in response to sunkaram)I agree with your answer but is there another way to manually reset/clear session timeout everytime a user clicks on the checkbox?
-
5. Re: Session Timeout when check box clicked
sunkaram Mar 14, 2012 5:52 PM (in response to nkiboti)manually or programatically?
programatically this is the way to reset.. this just resets the current users session timeout if user is accessing checkboxes page..
-
6. Re: Session Timeout when check box clicked
nkiboti Mar 14, 2012 7:58 PM (in response to nkiboti)Manually