I have a simple question to which I couldn't find the answer on this page:
https://codeigniter.com/userguide3/libraries/sessions.html#how-do-sessions-work
That is why I ask it here.
But first, let's assume that session will expire in 600 seconds (10 minutes).
So, when the session cookie will actually expire?:
- from the first time I open a Codeigniter website and use it for 10 minutes, or
- 10 minutes after I stop opening pages on that website
Another question if the answer is 1:
- Can I somehow extend the session every time the user access the website?
Another question if the answer is 2:
- what is happening with sess_time_to_update? Can I extend the life of session_id to match the life of the session too?