Re: Response.Redirect with IE
From: Joyjit Mukherjee (joyjit_mukherjee_at_hotmail.com)
Date: 10/14/04
- Next message: Ankur Goyal: "Custom DataGrid Controls !"
- Previous message: Joyjit Mukherjee: "Re: Error with ArrayList"
- In reply to: Sospeter: "Response.Redirect with IE"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Ankur Goyal: "Custom DataGrid Controls !"
- Previous message: Joyjit Mukherjee: "Re: Error with ArrayList"
- In reply to: Sospeter: "Response.Redirect with IE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|