javascript - Can't read cookie except in IE -


i can read following cookie in firebug:

fixxly_id=niflj34fiodrgrtk0mwqtmwqzmtyxnde5mtvh|1377513181|4f983fa4ca9c0554hfd6dcb24d1a3188a9d3fa2; expires=wed, 25 sep 2013 10:33:01 gmt; path=/; domain=mysub.mydomain.pt

the request comes http://mysub.mydomain.com/myapp/#/login

but can't read cookie javascript when use ff, chrome, safari. ie works. tried read cookie using document.cookie, jquery's $.cookie() , angularjs-cookies. cookie not httponly.

i tried setting cookie domain .mydomain.pt , mydomain.pt.
tried set path=/myapp.
read other posts here in stackoverflow couldn't find answer this.

the cookie being set on different server/domain!

what i'm missing here? anyone? thanks.

solved

the problem in ports used. happening requests being made port 8081 (there proxy forwarding requests final destination, listening in port 8081), apparently ie has no problemas port http requests. changed our nginx server (in http://mysub.mydomain.com) redirect requests port 80.

i know didn't ports or proxy in question, that's because don't know enough cookies , didn't think had - bad. , sorry that. anyway, solution problem.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -