Re: Response.Redirect with IE

From: Joyjit Mukherjee (joyjit_mukherjee_at_hotmail.com)
Date: 10/14/04


Date: Thu, 14 Oct 2004 10:52:53 +0530

Hi,

it seems that you are using Forms Authentication and want to redirect from a
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
forms authentication attributes (LoginUrl, name etc.), set Authorization
settings, set default.aspx as your start page, and then in your codebehind
do whatsoever mechanisms you want to use to authenticate.

You don't have to manually redirect, Forms Authentication will do it for you
automatically. And finally, smartnavigation is all about maintaining scroll
positions, element focus etc. for IE 5.5 and above browsers.

HTH
Joyjit

"Sospeter" <sospetermurigi@scceramics.com> wrote in message
news:eb403e6a.0410131927.4b55e341@posting.google.com...
> Hi Ken,
>
> I have done that but still experiencing same problem. Tried the
> following i.e. turning smartnavigation = false and using
> server.transfer as below but nothing works.
>
> Please help.
>
> Page.SmartNavigation = False
> FormsAuthentication.SetAuthCookie(txtCustID.Text, False)
> 'FormsAuthentication.RedirectFromLoginPage(txtCustID.Text, False)
> Server.Transfer("default.aspx")
>
>
>
> Add newsgroups to your website just like Developersdex. Click here to
> see how.
> http://www.automationtools.com
>
>
>
>
>
> View Message Thread (1 reply)
>
> Results 1 - 2 of 2
>
> Response.Redirect
> From: Sospeter
> Date Posted: 10/13/2004 8:33:00 PM
>
>
>
> Hi,
>
> I have a web application that has a login page. Once a user is
> authenticated, he gets redirected from the login page by using
> FormsAuthentication.RedirectFromLoginPage(txtCustID.Text, False)
>
> The above and response.redirect isn't working when I use Internet
> Explorer.
> Works fine with firefox. Anyone know a solution to this.
>
> Cheers,
> Sos
>
>
>
> Re: Response.Redirect
> From: Ken Dopierala Jr.
> Date Posted: 10/13/2004 9:13:00 PM
>
>
>
> Hi,
>
> Make sure you are allowing cookies with IE. Also check that your
> security
> settings are the same for each browser. Good luck! Ken.
>
> --
> Ken Dopierala Jr.
> For great ASP.Net web hosting try:
> http://www.webhost4life.com/default.asp?refid=Spinlight
> If you sign up under me and need help, email me.
>
> "Sospeter" <sospetermurigi@scceramics.com> wrote in message
> news:eb403e6a.0410131824.752ac7f@posting.google.com...
> > Hi,
> >
> > I have a web application that has a login page. Once a user is
> > authenticated, he gets redirected from the login page by using
> > FormsAuthentication.RedirectFromLoginPage(txtCustID.Text, False)
> >
> > The above and response.redirect isn't working when I use Internet
> > Explorer.
> > Works fine with firefox. Anyone know a solution to this.
> >
> > Cheers,
> > Sos
>
>
>
>
>
> Results 1 - 2 of 2



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)
  • [Full-Disclosure] Advisory: Dark Age of Camelot - Weak encryption of network traffic exposed persona
    ... Weak encryption in game client exposed customer billing and authentication ... encryption for billing information. ... The login binary has undergone several updates since then. ...
    (Full-Disclosure)