Reputation: 5534
I have an ASP.NET app, it run fine after publish the site on my own machine, but if I try to debug the app, all cookies appear as a null object.
Some Ideas?
Upvotes: 1
Views: 582
Reputation: 66641
This is probably because you do not have correctly setup the domain, on the web.config for cookies, so the cookies is not saved. So check your web.config if you have correctly setup this line:
<httpCookies domain="debugname.com" />
Upvotes: 2