Name

set_httponly —

VALUE

DEFAULT

DESCRIPTION

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

set_httponly is available in Interchange versions:

5.8.0, 5.9.0 (git-head)

SOURCE

Interchange 5.9.0 (1/1 contexts shown):

Source: lib/Vend/Server.pm
Line 621 (context shows lines 611-625 in create_cookie():566)

    elsif($expire =~ /\s\S+\s/) {
      $expstring = $expire;
    }
    $expstring = strftime "%a, %d-%b-%Y %H:%M:%S GMT ", gmtime($expire)
      unless $expstring;
    $expstring = "expires=$expstring" if $expstring !~ /^\s*expires=/i;
    $expstring =~ s/^\s*/ /;
    $out .= $expstring;
  }
  $out .= '; secure' if $secure;
  $out .= '; HttpOnly' if $::Pragma->{set_httponly};
  $out .= "\r\n";
}
return $out;
}

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!