The request.querystring tag has no usage guidance.
0
votes
0answers
45 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
24 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
17 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 ...
-2
votes
1answer
44 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
30 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 ...
0
votes
0answers
87 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
289 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
1answer
388 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
54 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
85 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 ...
0
votes
0answers
18 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-...
0
votes
1answer
66 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
0answers
23 views
Display “Session Code” user entered when signing in
I need to display "Session Code" user entered, when he signed in, on another page using asp.net and c#.
These is part of my c# codes. When I click on the button Sign in by entering the username and ...
0
votes
2answers
518 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
98 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"]
...
1
vote
2answers
274 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
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
93 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 ...
0
votes
2answers
827 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 ...
-1
votes
2answers
238 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
1
vote
1answer
403 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
62 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
187 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:
&...
2
votes
0answers
46 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
534 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 ...
0
votes
2answers
233 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 ...
0
votes
1answer
420 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 ...
0
votes
1answer
142 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 ...
1
vote
2answers
8k 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 ...
0
votes
1answer
338 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
122 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
502 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
527 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 ...
0
votes
1answer
294 views
Remove characters from request.querystring
I have some code which gets the DrawingId from an url like the one below:
/Queue/Queue.aspx?Mode=Autosearch&DrawingID=188320"
My issue is after running another part of the program, that url ...
3
votes
1answer
760 views
Understanding HttpModules and URL manipulation
A project I'm working on integrates with a php app (Revive AdServer FWIW). We control the server it's deployed to, but altering the code I believe is out of the question. Revive has invocation ...
1
vote
1answer
563 views
Not caching specific requests using RestKit
My problem
I'm not being able to cache a specific request but other ones using the same library and server yes
http://server.com/lastEntities?authors=37&authors=125&authors=32&authors=36&...
1
vote
3answers
1k views
asp db receive “SELECT * FROM people WHERE id =” & Request.QueryString(“id”)
I have code written in an ASP file which is not working
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=Microsoft.Jet.Oledb.4.0; Data Source=" & Server.MapPath("...
22
votes
3answers
10k 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.
1
vote
1answer
725 views
Custom classic ASP 404 page, error reading first variable of querystring
I found a strange situation where Request.Querystring() seems to not work correctly.
I have configured Web.Config to redirect all of the missing pages.
<system.webServer>
<httpErrors ...
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 ...
0
votes
1answer
245 views
MVC Pass Paramater from ActionLink to View to return Recordset
I would like to pass a value from a link to a View and display the fields of the single record on the page.
Lets say I have @Html.ActionLink(item.Title, "Article/"[email protected], "News") which outputs /...
2
votes
2answers
473 views
How to mock multiple query strings?
I want to mock(by moq) multiple QueryStrings in my unit testing class.
Below is the piece of code :-
Adapter.MockQueryString("qs1", "1", _productController);
Adapter.MockQueryString("qs2", "1", ...
0
votes
1answer
188 views
How can i get the values of parameters from query string in aspx file?
Previously i passed the parameters to my page in a query string. Now, how am i supposed to get them and use them in my page ?
I tried this code and it doesn't work :
<asp:Label runat="server" ID="...
0
votes
1answer
69 views
Querystring display details
I got this tblDocument table which has a one to many relationship to a couple of other tables. I have created this querystring that displays the content of the document. In this soulution i only ...
1
vote
2answers
502 views
Request.Querystring(variablevalue) possible?
I'm creating an application which uses request.querystring to transfer variables between pages. However at the moment I am setting variable names in the URL dynamically in accordance with an array and ...
0
votes
1answer
100 views
Traversing values from one page to the other page
I have 2 aspx pages.. (view.aspx,edit.aspx).
under view.aspx I have grid which displays the following fields.
class,photo,photocaption,Edit which consists of class name, image of the class and a ...
-2
votes
2answers
115 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($...
3
votes
2answers
424 views
Request.QueryString with “&” within it
I am trying to read a querystring and then use this to run a query and display the results for that variable. Very simple.
Unfortunately some of the names have special characters within them and as a ...