Name

SaveExpire — specify the amount of time for which Interchange cookies should be valid (their expiry time)

SYNOPSIS

interval...

DESCRIPTION

Specify interval, an amount of time, that Interchange-issued cookies should be valid for.

This, of course, only applies to cookies other than session ID cookie (MV_SESSION_ID), which always lasts only for the duration of the session. The ones used in Interchange by default (and which are affected by this directive) are MV_USERNAME and MV_PASSWORD, for the CookieLogin feature.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining SaveExpire

SaveExpire 52 weeks

NOTES

AVAILABILITY

SaveExpire is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 604

['SaveExpire',       'time',             '30 days'],

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;
}

AUTHORS

Interchange Development Group

SEE ALSO

CookieDomain(7ic), Cookies(7ic), SessionExpire(7ic), HammerLock(7ic), CookieLogin(7ic)

DocBook! Interchange!