Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Cookies/Setting A Cookie/Direct HTTP Programming"

From NetSec
Jump to: navigation, search
(Created page with "Send the Set-Cookie header as many times as there are cookies. Format: {{code | text=<syntaxhighlight lang="bash"> Set-Cookie: cookie_name_urlencoded=cookie_value_urlencoded; Ex...")
 
(No difference)

Latest revision as of 07:15, 19 July 2012

Send the Set-Cookie header as many times as there are cookies.

Format:

<syntaxhighlight lang="bash"> Set-Cookie: cookie_name_urlencoded=cookie_value_urlencoded; Expires=Wdy, DD-Mon-YYYY HH:MM:SS GMT; OtherFlags </syntaxhighlight>

For the "OtherFlags", see the Flags section.