Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

query strings

I am using a third party web application and I need to know the names of the querystring which are being passed around behind the scenes.

Is there any c# code which I could use to list all the available query strings.

thanks.
0
Mr_Shaw
Asked:
Mr_Shaw
1 Solution
 
ppittleCommented:
System.Web.HttpRequest.QueryString.   http://msdn.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx

You can get access to the current instance from within your page:
public class MyPage : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Request.QueryString;
}
}

or from outside of a Page:

System.Web.HttpContext.Current.Request.QueryString;
0
 
Mr_ShawAuthor Commented:
thanks
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now