RE: Forms Authentification

From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 11/26/04


Date: Fri, 26 Nov 2004 03:18:47 GMT

Hello,

Instead of RedirectFromLoginPage, you may consider like following code:

Response.Redirect("http://" + Request.Url.Host + Request.RawUrl);

To handle the cookie at same time, you may refer to this article:

http://support.microsoft.com/default.aspx?scid=KB;EN-US;301240

hope this help,

Luke



Relevant Pages

  • Re: SignOut a User
    ... Then, instead of calling RedirectFromLoginPage, call GetRedirectUrl. ... authentication cookie value. ... >Subject: Re: SignOut a User ... >as far as I know it doesn't matter how many connections there are, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FormsAuthentication Cookie
    ... Also assume that the username of the ... Sub Page_Load ... Internet Files folder & click the cookie, I find that the cookie has ... first parameter in the methods RedirectFromLoginPage & GetAuthCookie? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FormsAuthentication Class Question
    ... Thanks Luke. ... Joe Reazor ... > I think it is a fgood idea to encrypt username field as a separate cookie. ... > Another idea is to upgrade all your asp files to aspx. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FormsAuthentication.RedirectFromLoginPage
    ... creating the cookie, creating the authentication ticket stored in the cookie, ... Bill ... "Andy Sutorius" wrote: ... doesn't the redirectfromloginpage call create the cookie for you? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FormsAuthentication.RedirectFromLoginPage
    ... creating the cookie, creating the authentication ticket stored in the cookie, ... "Andy Sutorius" wrote: ... > control access into a subdirectory from the web.config in the root folder. ... doesn't the redirectfromloginpage call create the cookie for you? ...
    (microsoft.public.dotnet.framework.aspnet)