Re: Removing Items From QueryString

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 06/03/04


Date: Thu, 3 Jun 2004 12:03:00 -0400

A PostBack is simply an HTTP Request using the POST method, rather than the
GET method. The Query String is still read-only. The only way to change the
Query String is to Response.Redirect, which tells the browser to Request the
new URL you send it, with the parameters it has in it.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"A.M" <nospam1@online.nospam> wrote in message
news:#AVxb1WSEHA.1764@TK2MSFTNGP10.phx.gbl...
> Thank you Jeffrey,
>
> That Clear method confused me. It does make sense QueryString be readonly.
>
> However, technically, It should be quite doable to change QueryString by
> *during post backs *. What do you think?
>
>
>
>
> ""Jeffrey Tan[MSFT]"" <v-jetan@online.microsoft.com> wrote in message
> news:aqvHmEVSEHA.3960@cpmsftngxa10.phx.gbl...
> > Hi Alan,
> >
> > Does our reply make sense to you? Do you still have concern on this
issue?
> >
> > Please feel free to feedback. Thanks
> >
> > Best regards,
> > Jeffrey Tan
> > Microsoft Online Partner Support
> > Get Secure! - www.microsoft.com/security
> > This posting is provided "as is" with no warranties and confers no
rights.
> >
>
>


Relevant Pages

  • Passing value for a GET Method
    ... As like we pass value for POST method ... use strict; ... use warnings; ... When am passing the value through the Query String it is working ...
    (perl.beginners)
  • Re: Trying to make a simple book catalog
    ... Richard wrote: ... catalogrecord.php script. ... When the POST method is used, the parameters are not passed in the link as part of the query string; rather they are passed by the browser out of sight of the user. ...
    (comp.lang.php)
  • Re: HTTP request & HTTP protocol violation
    ... Henrik wrote: ... > The http request is a string like ... > When i add the POST method i just get this: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: $_SERVER[QUERY_STRING] empty when using post?
    ... the post method of a form? ... the query string when posting a form? ... Think you should fetch all parameters of $_REQUEST hash and then to compose all parameters and their values into query string using server ... Exact Meta Search | Major Search Engine ...
    (comp.lang.php)
  • Re: post into hash table
    ... > The query string is probably empty, since it's a form submission via ... > the POST method, and forms always use & as the separator. ...
    (comp.lang.perl.misc)

Loading