Uploader Comments (dnfvideo)
All Comments (5)
-
Same application pool can be associated with multiple applications (virtual directories). Basically, there is one w3wp.exe process associated with a applcation pool and there can be multiple AppDomains inside this process for each application associated with that pool. So, applications are separated by AppDomain.
-
@dnfvideo I understand machine keys and encryption, but Cookies are stored based on the domain name. How is it then that domain A can have access to domain B cookies? In your example, while they are both in seperate virtual directories, they are still in the same domain "localhost".
-
can you tell me the defference between AppDomain and Application pool? This is one of the question I have been asked in an interview and my answer was both are same, and used to isolate the applications so that if there is an issue with one application it will not effect the other application which is in other application pool. Plz tell me wheather I am right or wrong.
yes, but all of your websites must be on the same domain. In your case, "localhost". As I understand it, browsers won't pass a cookie between 2 seperate domains.
mytonytiger 7 months ago
@mytonytiger Hi , No it can be on a different domain and on complete different servers thats why the machine key is entered. In my example i had kept different virtual directories it was not in one single localhost virtual directory as us.
dnfvideo 7 months ago