It is still a bit difficult to understand why are you redirecting to the login page. In any case, this is a two step-process: after you perform FormsAuthentication.SetAuthCookie, you HAVE TO perform a Response.Redirect to another or to the same page, so the authorization cookie could be refreshed.
If this doesn't work, we will have to see the full code of the MonoX page that has this code.
7207
Reputation
956
Total posts