Re: redirect not working
From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 10/08/04
- Previous message: Holysmoke: "A newbie question on SSO"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: redirect not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 8 Oct 2004 09:29:16 +0200
Have you tried to run the code on a different local machine or a VM?
-- Daniel Fisher(lennybacon) MCP C# ASP.NET Blog: http://www.lennybacon.com/ <anonymous@discussions.microsoft.com> wrote in message news:155e01c4ac50$45979660$a401280a@phx.gbl... > Daniel, > > Locally the Redirect method returns the correct URL and > it redirects perfectly. However when I deploy to a web > server the redirect stops working. I can't debug this > remotely as I do not have the necessary permissions > however the code is the same so I can't see how this > would differ. > > The fact there is a difference between remote and local > debugging makes me think its perhaps an IIS problem (only > a guess). > > Any pointers would be much appreciated. Thanks for your > help > > >>-----Original Message----- >>Hi Matt >> >>> That line detects whether the user has come to the > login >>> page from the homepage(index.aspx) and if so re-directs >>> (doesn't work) them to the index.aspx (I changed it to > a >>> http:// address in the hope it would work as originally >>> it was /appliedbioscience/... type URL). >> >>GetRedirectUrl() Checks if the username is null, returns > null in this case, >>or returns Request["ReturnUrl"] if not null or just the > path to the >>default.aspx in the root of the application. >> >>what does this method return in your code? >> >> >>-- >>Daniel Fisher(lennybacon) >> MCP C# ASP.NET >>Blog: http://www.lennybacon.com/ >> >> >> >> >> >> >>. >>
- Previous message: Holysmoke: "A newbie question on SSO"
- In reply to: anonymous_at_discussions.microsoft.com: "Re: redirect not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|