Click here to Skip to main content
15,889,860 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am unable to remove querystring in my page.

I tried by solution given in one of the article in code project
"Removing (Deleting) Querystring in ASP.NET" and even tried in google
I could remove the querystring but it is added again in the page, even though
querystring is not processed in that particular page.

please help me..
Posted

If it is being added automatically then perhaps you should check the Application_BeginRequest event in global.asax file. perhaps it is deliberately being added their.

Same could be done from any HTTP module so if you have some modules interfering the requests, check them too.

Let me know if I understood incorrectly and I will try to improve my answer.
 
Share this answer
 
v3
Comments
Pankaj Nikam 25-Jun-12 8:18am    
+5 :)
Why do you want to remove query string?

Consider using Url Rewriting[^] instead, if it suits your case.
 
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