How to read cookie from different domain?

2011-02-16 Thread Paolo
Hi, I need to read a cookie from a different domain (it is not mine). I known the name ok cookie. When I create (write) a cookie, it is possible to set the name of domain: cookie.setDomain(.example.com); But It does'nt work for foreign domain just because security reasons, infact I can not

Re: How to read cookie from different domain?

2011-02-16 Thread Randy S.
It is not possible to read a cookie from a different domain. That would be a terrible security problem. The browser will not send cookies that do not match your domain so no amount of code tricks on the server handling this request will get you the cookie. The third party cookies settings in

Re: How to read cookie from different domain?

2011-02-16 Thread Paolo
Alle mercoledì 16 febbraio 2011, Randy S. ha scritto: It is not possible to read a cookie from a different domain. That would be a terrible security problem. The browser will not send cookies that do not match your domain so no amount of code tricks on the server handling this request will