i know maybe it's a repetitive question, but i would like to know if someone has a good idea for leave user session alive when using ajax calls.
I figured out that when i'm logged and i leave the browser open for 1-2 hours, when i launch ajax calls the session is expired.
i'm using the standard:
$config['sess_time_to_update'] = 7200;
i would like to know if someone has the definitive way to keep alive the user session, better without using interval js functions