LostProgrammer Posted March 11, 2004 Posted March 11, 2004 I have a working asp.net application on a server that runs windows 2003. When i go to http://servername/appfolder/login.aspx everything works as expected. To make things easier, we've created a new website in IIS and added a DNS entry so that http://myApp.mycompany.com will redirect to the login page. Everything in the app works except for 1 button that does a simple redirection. It reloads the current page with blank content instead of redirecting to the proper page. All of the other buttons function. I've deleted the button and created a new one, reinstalled the app and still get the same behavior. I have several apps that work with the dns entry. It's only the one button in the one app that doesn't work. Any ideas? -lp Quote
Administrators PlausiblyDamp Posted March 11, 2004 Administrators Posted March 11, 2004 What's the code behind the button in question? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
LostProgrammer Posted March 11, 2004 Author Posted March 11, 2004 Response.Redirect("otherpage.aspx") Quote
takesoln Posted March 12, 2004 Posted March 12, 2004 try giving the full path of the .aspx file for eg: Response.Redirect("http://yourApplication/YourPage.aspx") ;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.