.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How my web-site URL will reamin same name?

Posted By: susant     Posted Date: November 04, 2008    Points:2   Category :ASP.Net
Hi Friends.. i need one help

suppose i am typeing www.dotnet.com : resultURL- dotnet.com/index.aspx
i click on feedback so the resultURL will be : dotnet.com/feedback.aspx

but i do not want to change my URL what ever user is clicking.. always it will display www.dotnet.com..how to do that?


susantaown@gmail.com
9916351611

Responses
Author: Rahul             
Posted Date: November 04, 2008     Points: 5   

Hi,
Always use Server.Transfer() instead of Response.Redirect() to redirect to another page through out your application .

Author: Akhil Raj       [Moderator]      
Posted Date: November 04, 2008     Points: 5   

hi mate you can use url rewriting for this purpose...please reead the folloeing articles


http://www.codeproject.com/KB/aspnet/urlrewriter.aspx
http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx

please search in google you will got more articles...



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend