Hi
Someone FIRST requests the login.aspx, not FIRST requests other page
and then is redirected to login.aspx.
if you FIRST requests the login.aspx,...
--- In [EMAIL PROTECTED], "Newtz, Brian" <[EMAIL PROTECTED]>
wrote:
>
> You don't use Response.Redirect from the login page unless you're
doing
> some custom cookie/ticket creation. Once you verify the user is
legit,
> call FormsAuthentication.RedirectFromLoginPage.
>
> -Brian
>
> -----Original Message-----
> From: Lude Gullit [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 11, 2004 2:57 PM
> To: [EMAIL PROTECTED]
> Subject: [C#.NET] About authentication
>
>
> Hi,
>
> I use forms authentiction and deny anonymous users in my project.
If
> someone requests a page other than the login.aspx, it will direct
> them to login.aspx. That is fine.
>
> But if someone FIRST requests login.aspx and after I check the
> username and password and use response.redirect["xxx.aspx"] to
> redirect to next page, it doesn't work and it is still the same
> page. Do I need to write something telling the server it is
already
> authentcated?
>
> Thanks
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/CSharpNET/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
