Juan Pablo Gomez
Juan Pablo Gomez

Reputation: 5534

cookies asp.net at debug time

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

Answers (1)

Aristos
Aristos

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

Related Questions