SessionExpire — specify a duration after which idle user sessions expire
Website visitors can close their browser or move to browsing other sites
without making the Web server aware of the fact.
This is a potential problem as new sessions would keep getting created,
but they'd never be removed, wasting system resources.
The way we can detect "closed" sessions is by measuring time
between user requests. We can expire sessions where no activity was
registered for more than the specified interval.
SessionExpire
specifies the maximum amount of time for which the
session information is preserved between two consecutive user requests.
If CookieLogin
is enabled, SessionExpire
can be a small value.
If the customer's browser has the Interchange session cookie stored, he or she will
be automatically logged back in with the next request. Note, however, that
the customer's cart and session values will be reset.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 4115 (context shows lines 4115-4127)
sub parse_time { my($var, $value) = @_; my($n); return $value unless $value; # $C->{Source}->{$var} = [$value]; $n = time_to_seconds($value); config_error("Bad time format ('$value') in the $var directive\n") unless defined $n; $n; }