Re: Form's Authentication

From: WJ (JohnWebbs_at_HotMail.Com)
Date: 11/27/04


Date: Fri, 26 Nov 2004 20:05:22 -0500

This c# instruction may help:
FormsAuthentication.SetAuthCookie(txtLogonUserName.Text,false);

The above instruction tells the system that your login page accepts your
user as a valid user. You then redirect your user to wherever location s/he
wishes to arrive.

John

"Ankur Goyal" <ankur@proteans.com> wrote in message
news:%23KJ$g650EHA.1296@TK2MSFTNGP10.phx.gbl...
> Hi !
>
> I am using Forms authentication in my web application , but after
> authenticating used it is again redirecting to Login page.....
>
> How to resolve that issue.
>
> Thanks
> Ankur
>
>
>



Relevant Pages

  • Re: Default.aspx - newbie Q`
    ... check and redirect to the ReturnURL or Selected.aspx depending on the case. ... > and replace it with something that takes then straight to the login page. ... >> Curt Christianson ... >>> authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Default.aspx - newbie Q`
    ... check and redirect to the ReturnURL or Selected.aspx depending on the case. ... > and replace it with something that takes then straight to the login page. ... >> Curt Christianson ... >>> authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP 2.0 Membership API
    ... After successful authentication, you want to redirect back to the original application, but the returnURL parameter contains only /App1 as the URL. ... The solution to that problem is adding a local login page to the application that does a manual redirect to the central authentication application. ... if not you have to use cookieless auth ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Detecting Failed Authorization
    ... after every authentication request and before the user ... is redirected to any login page. ... > "Ken Dopierala Jr." ... >> 'Redirect where you want the user to go. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Response.Redirect with IE
    ... login page to another one after a successful login - Am I right? ... In that case, set the Authentication mode to "Forms" in Web.Config, set the ... You don't have to manually redirect, Forms Authentication will do it for you ... > From: Ken Dopierala Jr. ...
    (microsoft.public.dotnet.framework.aspnet)