Interviews2 answers
How we hide the querystring value from the url ..?
2 Answers
Hi Mr.Bharat Bhushan .,
Did u got Solution for URL Rewriting if Means Please Share it ASAP i Need it for My ASP.NET 4.0 C# Application
Rajagopalan R VPosted Apr 2, 2015, 1:27 AM EDT
Hi
i want to know how to hide the values in query string in ASP.net.
here i want to send the values from one page to another page through query
string with out explicitly visible the values in the query string. i want
the solution with the response.redirect method.
example : http://itinabha.espranza.net/newsdetail.aspx?value=2
but i wan the link is http://itinabha.espranza.net/newsdetail.aspx only.
I dont want use Session, or cache.this will make heavy my application
if anybody knows please send me the solution.it's very needed to me.
Thank You
Bharat
i want to know how to hide the values in query string in ASP.net.
here i want to send the values from one page to another page through query
string with out explicitly visible the values in the query string. i want
the solution with the response.redirect method.
example : http://itinabha.espranza.net/newsdetail
but i wan the link is http://itinabha.espranza.net/newsdetail
I dont want use Session, or cache.this will make heavy my application
if anybody knows please send me the solution.it's very needed to me.
I'm using server.urlEncode explain below example . the url is encoded but .aspx page is not working . it prints "BAD REQUEST" only
Response.Redirect (Server.UrlEncode("AdminTopicsMCQ.aspx?Topicid=" + Convert.ToInt32(Request.QueryString["Topicid"]) + "&termid=" + Convert.ToInt32(Request.QueryString["Termid"]) + "&subid=" + Convert.ToInt32(Request.QueryString["subid"]) + "&clsid=" + Convert.ToInt32(Request.QueryString["clsid"])));
Thank You
Bharat
Bharat BhushanPosted Nov 21, 2010, 7:55 PM EST
