Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET : Hide Querystring in URL

I don't know if I'm just being overly hopeful, but is there a way to hide the query string returned in the URL?

The scenario I am in is where I have page1.aspx redirecting a command to an outside server via a post, and it returns it to page2.aspx. The only problem I have with this, is that the querystring of the returned variables are still left in the URL.

I just want to hide the ugly string/information from the common user. So is there a way to edit and reload that in the pageload method or do I just have to save the variables on a middleman page and then hit page 2.

like image 542
Jared Avatar asked Jun 22 '26 02:06

Jared


1 Answers

What is the origin of these querystring variables? Can you not submit all data as POST data, so that there is no querystring?

like image 164
D'Arcy Rittich Avatar answered Jun 23 '26 17:06

D'Arcy Rittich