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

Cookies/Setting A Cookie/Direct HTTP Programming

From NetSec
Jump to: navigation, search

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.