Questions tagged [request.querystring]

201 questions
0
votes
2 answers

jquery POST data in aspx page

I post data to my aspx file qith the following code: $.ajax({ type: 'POST', url: "Ajax_Text.aspx?rand=" + myRand + "&id=" + $(".articleID").attr('title') …
dtakis
  • 571
  • 1
  • 9
  • 30
0
votes
0 answers

Appending to a QueryString

Imagine you have a menu with categories. Each of which contains a link to the parent page, but with a querystring. For instance: Category 5 This shows some items for category 5 in a gridview. Now I want to have the ability…
Daniel Olsen
  • 1,020
  • 2
  • 15
  • 27
0
votes
2 answers

is there a simple way to get URL in java

I am working on an email validation link for a website. When a user registers and finishes filling in their personal data (and it passes all the checks), they are sent to a jsp page saying that an email has been sent to the address they entered as…
kei23th
  • 283
  • 2
  • 6
  • 14
0
votes
1 answer

Pass a value using Request.QueryString when I doubleclick

I have a gridview and I want to pass a value from a row cell to another page. Based on the value which is a string, I can run a specific query and fill another gridview. My problem is, that when I double click the row, it won't pick up the value,…
Colin Roe
  • 774
  • 1
  • 18
  • 35
0
votes
2 answers

c# how to request url parameters and change char

After getting some url parameters, I would like to use them later in my c# code, but in a slightly different format. "http://example/myexample.aspx?attendees=john.sam&speakers=fred.will.tony.amy.al" I am able to get the values as a string in their…
0
votes
2 answers

QueryStrings.AllKeys != RawUrl?

Request ["fileName"] return null?? Why? Full image: https://i.stack.imgur.com/U1MzX.jpg Controller: Full image: https://i.stack.imgur.com/DCQNG.jpg Route public static void RegisterRoutes(RouteCollection routes) { …
ridermansb
  • 10,779
  • 24
  • 115
  • 226
0
votes
4 answers

Afterwards Model Binding in ASP.NET MVC: How to convert QueryString values into a view model?

I have an action method without parameters. The QueryString collection contain all of my values. The keys of the QueryString match my view model properties. var queryStringValueProvider = new QueryStringValueProvider(ControllerContext); var…
Rookian
  • 19,841
  • 28
  • 110
  • 180
0
votes
3 answers

How to remove partucular list of querystring from current page url querystring in c#2.0

Say my current page url has got (http://mysite/english/faq.aspx?faqid=12123&cid=4545&intcid=65456&h=man) string excludeQuerystring = DynConfig.Item("GoogleSEOLinkSettings/ExcludeQuerystring"); //this is the list of my exclude querystring…
Manoj Singh
  • 7,569
  • 34
  • 119
  • 198
0
votes
2 answers

Remember the page after session timeout

In my website I want to redirect the user to the same page on which he/she was before the session timeout. I tried it by sending the url through querystring, but it didn't work out as the url also contained "&". My url was:…
user1509
  • 1,151
  • 5
  • 17
  • 45
0
votes
4 answers

Saving QueryString to protect URL manipulation

Is there a way to save the querystring ids after the page load? the reason why i am looking is that ...i should be back and forth with pages and more importantly if the user try to manupluate the ids then it should not effect the result of my page…
Nick Kahn
  • 19,652
  • 91
  • 275
  • 406
0
votes
1 answer

URL with large query-string in AFNetworking

I'm using AFNetworking in my iPhone application for building an http get request. In general I append all the parameters in the query string. The problem is that one of this parameters is a list of IDs which can become really big (till 4.000 id).…
Claus
  • 5,662
  • 10
  • 77
  • 118
-1
votes
1 answer

asp.net error retrieving from database when query string contains number

i am using a dataset to retrieve some info from the database like this: protected DataSet getInfo() //getting the user info { string id = Request.QueryString["User"]; SqlCommand cmd = new SqlCommand("SELECT * FROM copy WHERE id=@id",…
Wahtever
  • 3,597
  • 10
  • 44
  • 79
-1
votes
1 answer

How to prevent unwanted request in node js express?

expected request: { "name": "Raju", "email": "email@email.com" } Actual: { "name": "Raju", "email": "email@email.com", "xyz" : "xxxx" } I would like to throw an error or escape for "xyz" in a validation/router level. Am using…
Leo Paul
  • 21
  • 2
-1
votes
1 answer

How to pass values from one .aspx to another

I have a user id by using query string and i want to retrieve other data directly from the database(i dont want to use query string {}& name={}..like that further) anybody can help me pl.. i am beginner
-1
votes
1 answer

How to retrieve value in URL and store it in variable

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 2 3
13
14