Reputation: 23
I am trying to access Application cookies with jquery on my Asp.Net MVC App.
Screenshot of Cookie and Value
I am trying to access Cookie with $.cookie('ASP.NET_SessionId');
but it always returns "undefined"
How can I access Cookie values
Upvotes: 2
Views: 168
Reputation: 1
HTTP only cookies can not be accessed in JavaScript
And this is a HTTP only cookie
Upvotes: 3