I have 2 applications. One of the asp.net web forms main.test.comthat needs to provide authentication is to log in to the user, and I can use the cookie for authentication in my asp.net mpc application located at myApp.test.com.
All I would like to do is access the cookie so that I can get the userId file that was saved in it using FormsAuthentication.
They use the basic authentication provided by microsoft;
<authentication mode="Forms">
<forms domain="test.com" loginUrl="Default.aspx" protection="All" path="/" requireSSL="false" timeout="45" name=".ASPXAUTH" slidingExpiration="true" defaultUrl="Default.aspx" cookieless="UseDeviceProfile" enableCrossAppRedirects="false"/>
</authentication>
Should this cookie be available for any sublease on test.com?
source
share