javascript - angular $cookies doesnt work in internet explorer 11 -


i using angular-cookie version 1.5.5 , ie 11. using angular factory $cookie set , value. setting cookies @ 1 page , retrieve @ page based on show div. solution working fine in chrome , mozilla fine. not working in ie. cookies enabled in ie.

app.factory('sharedcookieservice', function ($cookies) {  var expiredate = new date(); return {     getcookiedata: function (key) {         return $cookies.get(key);     },     setcookiedata: function (key, value) {         $cookies.put(key, value, { expires: expiredate });     },     ....    page var xx = getcookiedata(key) getting undefined though setcookie data on b page. 


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -