Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

query strings

Posted on 2009-05-05
2
Medium Priority
?
167 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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

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…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

916 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