R
rodrigo
I want to protect a single file (openvideo.aspx). I already setup the
folder as an application in IIS.
The authentication seems to work fine and the permissions works as it
should.
The problem comes after the user gets authenticated. I need to store
each user info in database after it gets authenticated at any time,
not only the first time.
I am using persistent cookie. It seems that register.aspx it's being
bypassed or skipped after authentication and I can't force the
register.aspx (loginUrl) to be checked after authentication.
I tryed using Request.IsAuthenticated but it always returns false.
From my little understanting of .net framework, I thinks something is
happening behind that is taking control of cookie authentication and
using session instead.
<configuration>
<system.web>
<authentication mode="Forms" >
<forms loginUrl="register.aspx" name=".AUTH1" protection="None"
path="/" timeout="20" >
</forms>
</authentication>
</system.web>
<location path="openvideo.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
thanks
Rod
folder as an application in IIS.
The authentication seems to work fine and the permissions works as it
should.
The problem comes after the user gets authenticated. I need to store
each user info in database after it gets authenticated at any time,
not only the first time.
I am using persistent cookie. It seems that register.aspx it's being
bypassed or skipped after authentication and I can't force the
register.aspx (loginUrl) to be checked after authentication.
I tryed using Request.IsAuthenticated but it always returns false.
From my little understanting of .net framework, I thinks something is
happening behind that is taking control of cookie authentication and
using session instead.
<configuration>
<system.web>
<authentication mode="Forms" >
<forms loginUrl="register.aspx" name=".AUTH1" protection="None"
path="/" timeout="20" >
</forms>
</authentication>
</system.web>
<location path="openvideo.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>
thanks
Rod