Author: jbassett | Posted on: 5/7/2009 6:59:45 PM | Views : 277

 

After I authenticate a user inside the login script I try to redirect them using ...

Either...

1.) Whatever was in the ReturnURL variable that the login control ads (I do this by doing Nothing....ASP.NET does it itself)

OR

2.) Send them to the "DefaultURL" in the web.config file (Also I do this by doing Nothing....ASP.NET does it itself).

Second Piece of info: I've been doing it this way on several sites for the past few years. Nothing has changed. But for this site here for some reason it isn't working.

What happens:

 1.) When I execute it on localhost (IIS 6 on XP)....The redirects work just fine like normal. No problems.

BUT

2.) When I execute it (meaning login) on the server (production server) itself....this is what happens:

a.) It's Loggin me in but not redirecting me. It's reloading the login.aspx page. Yes, I can probably fix it manually with response ...

Go to the complete details ...