FormsAuthentication Problem - Urgent Help Needed

From: Augusto Aguadę (aguade@ineo.com.br)
Date: 09/11/02


From: Augusto Aguadę <aguade@ineo.com.br>
Date: Wed, 11 Sep 2002 08:31:15 -0300

My app is using FormsAuthentication to authenticate users agains a SQL Server
database. The application uses a single .ASPX page that loads .ASCX controls
depending on what is passed on the connectionstring (http://xxx/yyy/default.aspx?Control=ABC).

In most cases, the users have to be logged to use this page, in others, don´t.
For this I´m using HttpContext.Current.SkipAuthorization in my Global.ASAX
AuthenticareRequest event.

The user is logged using FormsAuthentication.RedirectFromLoginPage, which works fine in all
cases together with the SkipAutorization code. Suddenly, at any time (1 minute, 30 seconds, half an hour),
the User information is lost, and the user is posted again to the login page.

Any ideas about what is happening ?

This is part of my WEB.CONFIG...

<authentication mode="Forms">
    <forms loginUrl="Login.aspx?Modulo=GERAL&amp;Tela=LOGIN" name=".AUTHUNIFW.NET" timeout="30" path="/Unitech.UNIFW" />
</authentication>

<authorization><deny users="?" /></authorization>


Quantcast