I have an exit handler that worked fine:
public void ProcessRequest(HttpContext context) {
As soon as I added the "domain" parameter to the authentication section of web.config:
<forms timeout="50000000" loginUrl="~/login" domain='mysite.com'/>
... he no longer registers the user - after redirecting to "~ / default.aspx" I still see that the user is logged in (I set a breakpoint to load the events of this page and check HttpContext.Current.User.Identity.IsAuthenticated , and its value is true).
Then I delete "domain = 'mysite.com" and logs the user in without problems.
I need to specify a domain because I added a subdomain with my own application, but I want it to share a cookie cookie.
Any ideas are welcome!
source share