Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top