CookieLogin — allow autologin based on username and password stored in a client cookie
The directive allows Interchange to save users' authentication info (username/password)
in a cookie. Cookie expiration time is set by SaveExpire and is
renewed each time they log in.
If the login and password information can be read from a cookie, then users can be logged in to the site automatically as they visit it.
To cause the cookie to be generated originally,
mv_cookie_password and/or mv_cookie_username must be set
to a true value.
The former causes both username and password to be saved; the latter just
the username.
For a complete discussion on cookies, see cookie glossary entry.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)
sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
return 0;
}
else {
config_error("Use 'yes' or 'no' for the $var directive\n");
}
}