Ajax - how to extend session via browser?


0 votes
asked Mar 16, 2016 by Osullivan (550 points)
I am trying to avoid session expiration if user does not refresh page more than 24 minutes e.

4 Answers

0 votes
answered Mar 22, 2016 by aBalaz (610 points)

Maybe just tell it to activate the browsers refresh button would do fine.
If in doubt please contact the author via the discussion board below.

I found the http://www.codeproject.com/Articles/9607/Prevent-Session-Timeout-in-ASP-NET community to be very helpful as well
0 votes
answered May 12, 2016 by Ure9656 (190 points)
Christopher Schultz Detecting Expired Session via Java Script. Jerry Malcolm Re: Detecting Expired Session via Java Sc. Christopher Schultz Re: Detecting Expired Session via Java Script. Christopher Schultz Re: Detecting Expired Session via Ja. Jerry Malcolm Re: Detecting Expired Session via Java Script. This makes sense as long as it truly does not keep the session alive.
0 votes
answered May 19, 2016 by gue1308 (210 points)
But my clients can change the tomcat session timer length. But issuing requests automatically resets the session timer.

Check it out at http://tomcat.10.x6.nabble.com/Detecting-Expired-Session-via-JavaScript-td5043401.html this will be of help to some people
commented May 20, 2016 by fbz_1929 (140 points)
When you generate your HTML page, toss theHttpSession
0 votes
answered May 26, 2016 by IsStreets (140 points)
commented May 27, 2016 by HouisRead (230 points)
Good luck this stuff can be tricky

Related questions


What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...