Solved

query strings

Posted on 2009-05-05
2
163 Views
Last Modified: 2013-12-17
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
Comment
Question by:Mr_Shaw
2 Comments
 
LVL 8

Accepted Solution

by:
ppittle earned 500 total points
ID: 24305081
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
 

Author Closing Comment

by:Mr_Shaw
ID: 31578030
thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question