T
T
tuxx2017-01-25 10:37:12
JavaScript
tuxx, 2017-01-25 10:37:12

.рф domain cookies not being read?

Wrote a small website in Angular 1.5.11 using ngCookies. In one of the controllers I connect $cookies and try to read and write to cookies. $cookies.get always returns undefined. $cookies.put seems to be writing, but there are no cookies through the developer panel, but if you display document.cookies, then everything is there and remains when the page is reloaded until their lifetime expires.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
emp1re, 2017-01-25
@emp1re

chrome> application> cookies > checkbox http? If yes, then this is a server setting and angular has nothing to do with it. Cookies at the front are best left untouched.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question