Questions tagged [request.querystring]
201 questions
                    
                    103
                    
            votes
                
                4 answers
            
        Are query string keys case sensitive?
Suppose I have a url like this:
http://www.example.com?key=123&KEY=198
Then what will be result of 
request.querystring("key")
and 
request.querystring("KEY")
I am a bit confused.
         
    
    
        choudhury smrutiranjan parida
        
- 2,588
- 5
- 28
- 39
                    75
                    
            votes
                
                6 answers
            
        Request["key"] vs Request.Params["key"] vs Request.QueryString["key"]
Request["key"] vs Request.Params["key"] vs Request.QueryString["key"]
Which method do you seasoned programmers use? and why?
         
    
    
        Chris
        
- 1,731
- 4
- 18
- 28
                    50
                    
            votes
                
                11 answers
            
        How do you test your Request.QueryString[] variables?
I frequently make use of Request.QueryString[] variables.
In my Page_load I often do things like:
       int id = -1;
        if (Request.QueryString["id"] != null) {
            try
            {
                id =…
         
    
    
        Ian G
        
- 29,468
- 21
- 78
- 92
                    29
                    
            votes
                
                2 answers
            
        Get querystring from URLReferrer
I am trying to get the QueryString value like this Request.QueryString("SYSTEM") from a UrlReferrer. I see i can use this Request.UrlReferrer.Query() but it doesn't allow me to specify the exact parameter 
I could parse the Query() value, but I want…
         
    
    
        FarFigNewton
        
- 7,108
- 13
- 50
- 77
                    29
                    
            votes
                
                3 answers
            
        How to parse/read multiple parameters with restify framework for Node.JS
Scenario: We developer are trying to replace a web service (written in C#.Net) with Node.JS Restful API.
Issue: Now we need to handle the incoming request as is (we don't have control over it). So the following is the format of the incoming…
         
    
    
        Amol M Kulkarni
        
- 21,143
- 34
- 120
- 164
                    25
                    
            votes
                
                5 answers
            
        How to get query string parameters in java play framework?
I'm very new to java play framework. I've set up all the normal routes like /something/:somthingValue and all the others. Now I want to create route the accepts query parameters like 
/something?x=10&y=20&z=30
Here I want to get all the params after…
         
    
    
        Sadik
        
- 676
- 2
- 9
- 18
                    23
                    
            votes
                
                5 answers
            
        how does Request.QueryString work?
I have a code example like this : 
 location.href = location.href + "/Edit?pID=" + hTable.getObj().ID; ; //aspx    
 parID = Request.QueryString["pID"]; //c#
it works, my question is - how ? what is the logic ?
thanks :)
         
    
    
        user2560521
        
- 476
- 2
- 6
- 18
                    15
                    
            votes
                
                3 answers
            
        Node.js - Send and receive Array as GET/POST using querystring
I've got the following code, but it doesn't seem to work:
var post_req = {
    array: [
        [ {
            param1: 'something',
            param2: 123
        } ],
        [ ],
        [ ],
        [ {
            param2: 'something',
        …
         
    
    
        Vanwaril
        
- 7,380
- 6
- 33
- 47
                    14
                    
            votes
                
                2 answers
            
        Request.QueryString[] vs. Request.Query.Get() vs. HttpUtility.ParseQueryString()
I searched SO and found similar questions, but none compared all three.  That surprised me, so if someone knows of one, please point me to it.
There are a number of different ways to parse the query string of a request... the "correct" way (IMO)…
         
    
    
        James King
        
- 6,233
- 5
- 42
- 63
                    14
                    
            votes
                
                6 answers
            
        Difference between Request.Form and Request.QueryString?
Can some  tell me the exact difference between  Request.Form and Request.QueryString?
I know  one difference, like
If the HTTP request method is POST, the user submitted data is in the
  Request.Form() collection
If the HTTP request method is GET,…
         
    
    
        Ramesh Rajendran
        
- 37,412
- 45
- 153
- 234
                    13
                    
            votes
                
                1 answer
            
        How to get the QueryString from an ashx file?
There is an ashx file containing "ProcessRequest(HttpContext context)" method which gets triggered automatically. When and how does it get fired?
Another question, How can I get the current QueryString when I am inside this file? When I type…
         
    
    
        Ahmad Farid
        
- 14,398
- 45
- 96
- 136
                    11
                    
            votes
                
                4 answers
            
        Plus sign in query string for ASP.NET site
I few years ago I created a database driven ASP.NET site, which uses a single APSX page to display all site pages. So all the URLs of the site are in the following…
         
    
    
        John Collins
        
- 153
- 1
- 6
                    10
                    
            votes
                
                3 answers
            
        how to get query parameter in lua or nginx?
I am trying to implement this-
https://gist.github.com/MendelGusmao/2356310
Lua,nginx based URL shortener,The only change i want to implement is when some query string parameter comes with shortened URL i need to take that parameter and insert into…
         
    
    
        mannuscript
        
- 4,711
- 6
- 26
- 25
                    9
                    
            votes
                
                2 answers
            
        How to parse querystring parameter from URL in Fastify server?
I am a totally new to fastify but I have a fastify server running. I want to parse query string such as:
http://fake.com/?user=123&name=ali
I want to get "user" and "name" values from the URL above. My current code is like this:
fastify.route({
 …
         
    
    
        web developer guy
        
- 129
- 1
- 2
- 9
                    6
                    
            votes
                
                2 answers
            
        Why is Request.QueryString readonly?
I thought you couldn't change the QueryString on the server without a redirect. 
But this code works* for me:
Request.QueryString edit
I'm so amazed.
So here are my questions regarding this:
Why is Request.QueryString readonly?
Why does this…
         
    
    
        Skuli
        
- 1,997
- 2
- 20
- 28