Session sliding expiration override for certain requests
- Yess
- Člen | 16
Hello,
Is there some way to override default behaviour of session – sliding expiration?
For example i have some ajax requests which are executed every N seconds (to refresh actual data on screen). But these requests prevents session expiration set while logged in, so user is never signed out by INACTIVITY reason.
Thanks for help.
- David Grudl
- Nette Core | 8218
The ideal solution is probably not to start a session in AJAX requests.