Asp.Net profile through subdomains

Is there any way to access profile information defined in one subdomain through another subdomain? Or a specific application for specialized information?

I set profile values ​​in one subdomain and want to access this profile in another subdomain.

+3
source share
1 answer

If your applications specify the same applicationName value to the profile provider, then they must access the same profile information if they agree to the user identification.

If you use forms authentication, you can ensure that the authentication cookie is visible to all applications using

<forms domain="parentdomain.com" ... />

machineKey, cookie, .

, cookie

<anonymousIdentification domain="parentdomain.com" ... />
+3

Source: https://habr.com/ru/post/1704517/


All Articles