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.7.0 (git-head)

SOURCE

Interchange 5.7.0 (1/1 contexts shown):

Source: lib/Vend/Server.pm
Line 578 (context shows lines 568-582 in create_cookie():523)

    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!