Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
how to hide url details when url is passed from hyperlinks navigation url to other page.

Actually i m passing values from this navigation url to other page but in next page that values are seen. so is there anyway to hide this parameters in url. please help me to find this solution

Thanks in advance.....
Posted

Dear Friend,

You need to implement the functionality of URL rewriting. I am sending you the links for the same to implement in which ever version of ASP.Net you want to apply. If you are using 4.0 version of .Net then it is very easy to implement.

http://www.cshandler.com/2011/08/easy-steps-to-url-rewriting-in-aspnet.html[^]

URL Rewriting in ASP.NET 2.0[^]

http://www.4guysfromrolla.com/articles/011007-1.aspx[^]

URL rewriting using ASP.NET routing[^]

IIS vs. ASP.NET URL Rewriting[^]

If it helps you out then mark this as your answer. All queries to it are welcome

Thanks
 
Share this answer
 
Comments
vins555 15-Feb-12 23:57pm    
thnks for ur support i tried url mapping but still its not working.

m working on .net framework 2.0
vins555 16-Feb-12 0:01am    
I am not getting any error but url remains same.
Varun Sareen 16-Feb-12 0:16am    
Dear Friend,

Please read the articles i have send to you it will definitely work
Varun Sareen 16-Feb-12 0:18am    
url rewriting in .net 2.0 is that that easy as it seems to be in .net4.0
vins555 16-Feb-12 0:20am    
okay...
If you are working on .net 2.0 or .net 3.5 the following link will definitely work for you.
http://www.cshandler.com/2011/08/easy-steps-to-url-rewriting-in-aspnet.html[^]
 
Share this answer
 
Comments
vins555 16-Feb-12 0:20am    
okay...
Use  Server.Transfer in code that will hide your 
parameter on the URL
Server.Transfer("page2.aspx?id=123");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900