set_httponly —
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; }