Name

Cookies — specify whether Interchange will try to send session cookies to client browsers

SYNOPSIS

Yes | No

DESCRIPTION

The directive determines whether Interchange will send cookie to the client and read it back to keep track of session ID.

For a complete discussion on cookies, see cookie glossary entry.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Disabling session cookies

Cookies 0

NOTES

AVAILABILITY

Cookies is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 654

['Cookies',       'yesno',            'Yes'],

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

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

AUTHORS

Interchange Development Group

SEE ALSO

CookieDomain(7ic), CookieName(7ic), CookiePattern(7ic), Mall(7ic), CookieLogin(7ic), SaveExpire(7ic)

DocBook! Interchange!