Name

Mall — issue cookies only for the current catalog, and not the base domain

SYNOPSIS

No | Yes

DESCRIPTION

Issue cookies only for the current catalog's script. By default, when Interchange issues a cookie, it does so for the whole base domain.

This setting will allow multiple catalogs to operate on the same domain without interfering with each others session ID.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Enabling Mall

Mall Yes

NOTES

AVAILABILITY

Mall is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 462

['Mall',            'yesno',           'No'],

Source: lib/Vend/Config.pm
Line 5419 (context shows lines 5419-5431)

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), Cookies(7ic), CookieLogin(7ic), TrustProxy(7ic), SubCatalog(7ic)

DocBook! Interchange!