The session will be destroyed after 7200 seconds, however I wanted to
know when I update the page or access another page of my
system, is this time renewed?
If not, is there any configuration in the IC config that does this?
What would this regeneration / renewal of the session id?
There is a correlation in the two questions where $config['sess_time_to_update']
means the frequency of the session update, and every 5 minutes this occurs ( default setting ), generating a new ID section of the session and resetting the session expiration expiration setting based on the $config['sess_expiration']
key.
Usually we configure it differently:
$config['sess_expiration'] = 0;
$config['sess_expire_on_close'] = TRUE;
where 'sess_expiration'
is configured with 0
and 'sess_expire_on_close'
with the TRUE
value, meaning that the session is only destroyed when the user closes browser or via coding with user intervention, I particularly do so and never had problems.
Link: