The request.querystring tag has no usage guidance.
-2
votes
0answers
27 views
Check if key exists in list [duplicate]
I have a list created from the QueryString using:
var queryStringList = Request.QueryString.AllKeys.ToList()
I want to iterate through the list and create a string from the current values of the ...
0
votes
1answer
40 views
Query String converts space to ? (symbol) in asp.net
I have an aspx web forms application developed in C#. Now the web page are being called from other application with query string parameter.
Now the issue is, when the query string parameter value is "...
7
votes
1answer
21k views
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 ...
0
votes
0answers
92 views
How to change the maximum URL length permitted on Microsoft Azure Application Gateway?
URL querystrings for complex REST queries are failing for an application behind the Azure Application Gateway. When run locally a long URL > 2048 characters is passed on fine indicating the issue is ...
0
votes
0answers
36 views
Query params with special characters in nodejs
My URL:
http://abcde.com/result.aspx?q=(some%20name%20here%20):Done&p=1&pos=0&qType=2
Its working in postman and also in curl command. If i try this in nodejs code
var http = require("...
0
votes
0answers
19 views
How do I pull the + symbol through to my action method
I have a generated a hash with a salt, which i use as a token for my user email confirmation, the problem is, sometimes these hash may contain the + character, I understand the query string ...
16
votes
4answers
31k views
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&...
-2
votes
1answer
45 views
How can I parse a string of an array into an array? [duplicate]
{scenarios: "[{purchasePrice:11,downPayment:1,term:30,rate:1}]"}
That's my object. I want to turn the value of scenarios into the array its trying to be from the string it is.
Is there a quick tool ...
0
votes
0answers
33 views
prepopulating form fields by passing values in queryStrings
Please help. I am trying to prepopulate form fields by passing values in queryStrings. page 1.html passes the data over to page2.html however, I am unable to finish the final code. I understand that I ...
24
votes
3answers
12k views
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.
0
votes
0answers
127 views
Vue - proxy doesn't pass querystring do api server
i use Vue with webpack template to my app. i have api too. when i want use proxy to request to my api server i doesn't pass query string.
My proxy
config/index.js
dev:{
env: reqire(".dev....
1
vote
2answers
558 views
Return url functionality
I'm using ASP.NET Core MVC with C#.
I have a functionality on my Login controller to take a parameter called ReturnUrl. The Idea is, that if this is set when the user logs in then I can redirect them ...
0
votes
2answers
1k views
What is the type of Request.QueryString() and how to check if it's empty?
Maybe it's trivial question, but I have no idea what is the type of Request.QueryString(). When I check it with typeof - it says it's Object. How to check which object it is and which property of that ...
4
votes
1answer
10k views
How to pass the value from one asp page to another asp page using queryString?
How to pass the value from one asp.net page to another asp.net web page using queryString.It means test1.aspx and test2.aspx are two web pages.
In test1.aspx, i have the string value,
string abc="...
0
votes
1answer
520 views
How to add query string and json data to httpWebRequest type POST
Javacode here:
function sendTextMessage(sender, text) {
messageData = {
text:text
}
request({
url: 'https://graph.facebook.com/v2.6/me/messages',
qs: {access_token:token},
...
-3
votes
2answers
63 views
How to get the value of a Query String which includes an ampersand &? [duplicate]
I need to retrieve the value of a query string for a department using .net c# but as some of the department names include an '&' as soon as it is read it stops after the &
www.example.co.uk/...
0
votes
2answers
107 views
ASP.Net Querystring - Multiple values
Is it possible to pass multiple values to a single Querystring parameter? Here is what I am thinking:
index.aspx?loc=wi&mi&mn
or
index.aspx=?loc=wi&loc=mi&loc=mn
Something like ...
2
votes
2answers
9k views
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 ...
1
vote
2answers
317 views
Can't get Request.QueryString or similar methods to work
To my shame, because I can barely C#, I cannot manage to read the parameters from the URL.
I run a C# cgi executable on my IIS 7 as an application. The url that calls the executable is as below:
...
0
votes
0answers
22 views
Google+ OAuth - Request.QueryString is returning null even while it has value
I'm trying to implement G+ login to my website and have referred to this website for tutorial : https://theonetechnologies.com/outsourcing/post/aspnet-signin-with-google-plus-using-google-plus-api-...
1
vote
0answers
45 views
Weird characters in ASP.Net (C#) URL link stops Request.QueryString proccesses [duplicate]
so today I'm dealing with a problem that I have searched the internet to find a solution but nothing helped me... I created a page in my web application that allows the user to change the account's e-...
58
votes
4answers
35k views
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?
0
votes
1answer
80 views
Transform JS object to HTTP GET request query string (using jquery)
I want to request GeoServer using AJAX. Since those request have long query strings I want to modify them comfortably using a js object like this:
defaultParameters = {
service: 'WFS',
...
0
votes
2answers
720 views
How to retrieve multiple values for a querystring parameter in asp.net
Suppose a page is invoked with multiple values for a parameter, like:
http://example.com/mypage.aspx?x=1&x=2
I find that request.QueryString("x") = "1,2".
Okay, that's fine, I guess I can do a ...
0
votes
0answers
29 views
List Query string paramiters client side
I would like to know if there is some way to retrieve the complete list of valid/supported parameters of a query string from client side. Here an example to clarify my goal:
The following Web page ...
0
votes
2answers
103 views
Not able to read # from query string
In my application user can change the query string value, for one of the key we are supporting all the special characters.
when i read the query string using below code
Request.QueryString["key"]
...
0
votes
1answer
49 views
Asp.Net Application Retain Query Information Upon hitting the Back Button
Hello Stack Overflow Community,
I am a noob to asp.net, so bare with me.
I have a web tool which was built by someone else. The application queries the database based on search parameters entered ...
5
votes
2answers
97 views
How to check if an 'unknown' parameter is supplied in a Request's Query String? [duplicate]
For example, if a query string has 2 expected parameters , say. param1 = "abc" & param2 = "def".
I know that Request.QuerySring["abc"] will check for "abc" in query string.
But is there any way ...
-1
votes
2answers
309 views
How to retrieve value in URL and store it in variable [duplicate]
I have an url like below
http://www.grcparfum.it/home.php?section=letteradelpresidente&lang=eng
in this URL language is english
lang=eng
i wanna call different JS file when lang is different
23
votes
2answers
16k views
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 ...
1
vote
3answers
1k views
How to make a popup in ASP.Net and pass information to it using a query string?
I have all the code I need to response.redirect a page and pass the information I need to the other page. But I don't want it to redirect the page but rather create a popup in the page.
I have code ...
1
vote
1answer
554 views
Passing parameters to new page in asp.net (in Redirecting)
I want to fill Listview in Asp.net with Records which should have link to another page . so when user clicks on one record, they will redirect to new page related to that record.I have many parameters ...
0
votes
3answers
64 views
# tag On Php QueryString Not Working
I am facing a problem with passing query string. In my query string the value containing a # tag when i use $_REQUEST['string'] its only return the value which is write before of # tag. There is any ...
0
votes
3answers
203 views
Request.QueryString doesn't get the input names from html form
I need to take the username, email and password a user enters in an html form (in index.aspx) and use it in an asp.net code in another page (register.aspx in a folder called 'u').
This is the form:
&...
12
votes
3answers
18k views
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
} ],
[ ],
[ ],
...
0
votes
2answers
141 views
IPN Request.Querystring
Within PayPal i have my notify_url set and it works nicely.
However I want to capture the QueryString such as tx, amt and item_number
I have the following SQL command that I place into the Verify ...
2
votes
0answers
47 views
How to specify more then one value for one key in RouteValueDictionary [duplicate]
I need to redirect to a page with multiple values for the same querystring key.
like:
?x=abc&x=yz
This is a constraint, I can not change how this service accepts his parameters.
How can this be ...
3
votes
2answers
576 views
How to find not null variables from URL query string? or can we get the variable in URL query string from request in python
I want to filter data based on multiple fields in Django python. The scenario is, if a GET request to webserver comes as /searchStudent/?firstName=&lastName=xyzage=23&class=&city= and we ...
10
votes
4answers
7k views
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 format:
/main.aspx?page=Page+Title+...
5
votes
1answer
11k views
How to properly use a QueryString in .NET ASP C#?
I have a web form in .NET using ASP and C#. This form has a DropDownList control with its AutoPostBack property set to True.
Some data on the form is displayed when the user selects an item from the ...
0
votes
2answers
249 views
Query string in email body in asp.net
I am having problems in creating a query string in an email body. Could you please help me?
The scenario is that a user receives my email and then I need to add in this email an "unsubscribe" link ...
3
votes
7answers
27k views
Converting Request.QueryString to integer
How do i convert a Request.Query string to an integer value. I've tried all the Convert.ToInt32 and Int32.Parse but it says Input string is not in the correct format. I am using the string value as an ...
0
votes
1answer
460 views
c# - asp.net // why does this value get NULL?
, i have this code where when i click button 4, i want to redirect to a link using a variable as a querystring! I use the variable in all of the code but suddenly when it gets to the button class it ...
1
vote
1answer
333 views
How to switch website language in VB.NET Web.Form?
I have a simple website with two languages, english and french. In my master page, I have an hyperlink that switch to other language. When the user click on that hyperlink, I want to generate the URL ...
0
votes
1answer
148 views
Update querystring in javascript
I have a web page that reads an xml file using ajax.
Ajax because I only want to update the numbers not the entire page.
It reads the file every 5 Seconds using SetInterval(), because the file is ...
-2
votes
2answers
116 views
taking safe input from url and making my input hacking safe
I have the following method in my php CRUD class:
//secure search method
function secureInput($ary = array()){
$this->connect();
$securedArray = array();
//print_r($...
0
votes
1answer
366 views
ASP:GridView dynamic datasource from Querystring
Just playing around with ASP.net C#. I am trying to pass a querystring to the gridview's datasource. The querystring is the SQLDataSource ID. This way one page can pull from different datasources ...
0
votes
1answer
125 views
Multiple Pages of same Website through QueryString from IIS
I have faced an issue while deploying a web application(asp.net c#, in IIS). What I have is single application for two DBs. So, Through querystring, I am determining the connectionstring in the master ...
0
votes
1answer
566 views
Request.QueryString in Gridview
I have this ImageButton and Label in my GridView
Grid Definition is as follows
<asp:TemplateField HeaderText="Send kwm">
<ItemTemplate>
<center>
<asp:...
0
votes
1answer
564 views
Exception Details: System.NotSupportedException: Like methods do not support null
I am checking a search box if the query is empty. If it is empty, then show a query empty error message. However, it bypasses all of my checks for an empty query and goes straight to my ...