Question

I have two web applications running under .NET4. Both the web applications are hosted on same server. I have two questions here:

Will both of these applications share same machine key? How can I have different machine keys for different applications

Was it helpful?

Solution

If they are different applications, the default settings will give them a different machineKey. That's what IsolateApps is for.

AutoGenerate, IsolateApps Specifies that the key is automatically generated. This is the default value.

And IsolateApps means...

The IsolateApps modifier specifies that ASP.NET generates a unique encrypted key for each application using the application ID of each application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top