469,917 Members | 1,489 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Response.Redirect with IE

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(txtCust ID.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(txtCustI D.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" <so************@scceramics.com> wrote in message
news:eb*************************@posting.google.co m...
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(txtCustI D.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
Nov 18 '05 #1
1 2462
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" <so************@scceramics.com> wrote in message
news:eb**************************@posting.google.c om...
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(txtCust ID.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(txtCustI D.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" <so************@scceramics.com> wrote in message
news:eb*************************@posting.google.co m...
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(txtCustI D.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

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Paul | last post: by
6 posts views Thread by Sam | last post: by
3 posts views Thread by Sehboo | last post: by
13 posts views Thread by Tim | last post: by
10 posts views Thread by Niggy | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.