Answer the question
In order to leave comments, you need to log in
Google Chrome and Set-Cookie?
Please tell me the correct format of HTTP header Set-Cookie.
rfc2109 says:
av-pairs = av-pair *(";" av-pair)
av-pair = attr ["=" value] ; optional value
attr = token
value = word
word = token | quoted-string
Sending a GET request using Google Chrome to example.com/main/about . Set-Cookie:SESSID="9l8MUBbPRhxaD2b9paYMGJ9t0Q9TLLYK"; Version="1"; Path="/"
Notice the Path="/" attribute. Nevertheless, Chrome remembers the cookie with Path: /main Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question