Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a query string given below.

Response.Redirect("http://localhost:52009/oms_trail/welcone.aspx?&vid=" + vendorid + "&sid=" + surveyid + "&mcid=" + uniqeid + "");

and i want when response.redirect execte than hide the variable value.

query string show like this:

Response.Redirect("http://localhost:52009/oms_trail/welcone.aspx")

and note i use the server.transfer but it is not worked.
Posted

Yes, you can hide Querystring using URLRewriting technique

URLRewriting can be pull off using many ways. check the link below.

Click me[^]
 
Share this answer
 
Comments
RaisKazi 19-Sep-11 5:15am    
5!
Member 10794659 10-Sep-14 3:29am    
I want to redirect a query, which will generate dynamically at run time from one page to another which will pass through Query String.so can i hide the query string from URL with out encrypting.
You can use Server.Transfer Method for hide Query String


C#
Server.Transfer("http://localhost:52009/oms_trail/welcone.aspx?&vid=" + vendorid + "&sid=" + surveyid + "&mcid=" + uniqeid + "");
 
Share this answer
 
U cannot hide query string..........
What u can do here is store u r variables in session
 
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