• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in session timeout  RSS feed

 
Neeraj jain
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on an Intranet Mail Server project and i want to timeout the session if user not perform any action but problem i am facing is that my ajax is working behind and checking the database after every 5 seconds and during checking it is taking the username from the session , so basically my session is being accessed after every 5 seconds automatically without the interruption of the client so please tell me how to timeout the session ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each request will restart the session timer. If you want the main page to "time-out" after a certain period, that's something you'll have to handle yourself.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!