During my searching, I would like some help about this :
Question : which cookie will the browser send when requesting the following URLs (justify)
http ://subdomain2.host.com ?
--> the cookie 2 'cause his domain is .host.com, is it right ? What is path="/" ?
--> I don't know !
--> the first cookie 'cause the domain is subdomain1.host.com, is it right ?
I have an other question :
if I have the following cookie :
name=cookie1;value=1;domain=.host.com;path=/trusted
name=cookie2;value=2;domain=.host.com;path=/untrusted
Can a web page from host.com/untrusted read cookie1 ? Justify ?

Aucun commentaire:
Enregistrer un commentaire