I am working on an asp.net intranet, that looks for a cookie from our main domain. The cookies domain value is set to “mydomain.com”. Now I can easily access this cookie if I am on the same sub domain (http://test.mydomain.com). However is there a way for me to test this from http://localhost as well?
Share
Put an entry in your host file on your local machine so that requesting your company domain gets sent to a local ip address (like 127.0.0.1). Then, make sure you have a web site setup in IIS that uses that IP and host name.