0

I have a method in controller, Is it possible to run this method without interference to session expire time ? I'm checking something by ajax request every 5min, but in this case session never expire. Session expire time is 30min. In future I will be able to use websockets, but now I need solution in easy way.

kxyz
  • 802
  • 1
  • 9
  • 32

1 Answers1

0

You can track user's idle time with JQuery via some timer, then send ajax request to expire session. Detect user idle time with JQuery

Community
  • 1
  • 1
isah
  • 5,221
  • 3
  • 26
  • 36