Questions tagged as 'querystring'

8
answers

How do I read values from the URL in Javascript (QueryString)?

When I access a page, for example /item?tipo=1&nome=po%C3%A7%C3%A3o%20de%20cura How do I get these values from the URL by properly decoding?     
asked by 15.12.2013 / 19:22
3
answers

Parameter embedded in form action is not passed via GET

I have the following HTML code, and in the action section the address obeying my query string: <form name="searchCard" class="serachCard" method="get" action="painel.php?spv=nav/buscarCard"> <fieldset> <legend>Pes...
asked by 20.12.2013 / 17:14
2
answers

Get parameters passed by url on another page

I have this call to another page, passing 2 parameters. Response.Redirect("/frmPVFichaCadastral.aspx?CdProcesso=" + vhdfCdProcesso.Value + "&CdTipoUsuario=" + vhdfCdTipoUsuario.Value) How do I get these parameters passed here on this pa...
asked by 20.11.2014 / 19:24
1
answer

How to have the isset function using $ queryString in php

I have a code in php that has the function to get the parameter ?capa= with parse_str <?php $url = parse_url($_SERVER["HTTP_REFERER"]); parse_str($url["query"],$queryString);?> This is his code: <?php echo $q...
asked by 23.04.2018 / 08:52
1
answer

Convert dynamic to query string

Is there a more "elegant" way of converting a dynamic to a query string ? I'm currently doing with several Replace() but it's not quite what I wanted. string data = new { email = email, password = password } .ToString...
asked by 05.11.2017 / 13:52
1
answer

How do I remove the character limit of a URL by GET or POST

I'm having an error submitting the form, it returns a MaxQueryString error. Is there any way to increase this number / remove this limitation? because \ web.config \ is already set high and is not advancing.     
asked by 09.12.2014 / 14:51
1
answer

How to read QueryString parameters in Javascript

How do I collect arguments from an HTML page? Type I've tried to use that neither C # / ASP.NET: var conteudo = Response.QueryString["usuario"]; Considering a query string as: /default.html?usuario=pt Then he would tell me what was...
asked by 27.06.2014 / 21:31
1
answer

Retrieve value from an HTTP query string

I have a URL that returns an HTTP QueryString , and I need to retrieve the URL information and convert it to variables to query the database. In PHP just use $_GET[""] , now in C # I do not know how to proceed. I'll give you an ex...
asked by 19.01.2015 / 18:10
1
answer

Get URL value in a DropDownList

In my application I have a DropDownList that filters the search data. When filtering, it retrieves the value of QueryString and leaves the value saved in DropDownList itself (so that when the page changes, the filter option...
asked by 08.06.2015 / 21:01
1
answer

transform url Query String to a user-readable url

I've noticed that it was possible to make a query string something more readable for the user, like this: real url: site.com/roupas?categoria=vestidos for this (what the user sees) site.com/roupas/vestidos ou site.com/roupas/categoria/...
asked by 13.04.2015 / 05:26