Re: Removing Items From QueryString

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

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)
  • Synchronous AJAX (SJAX) problem with POST method
    ... If I am using following code to send a HTTP request everything is fine: ... req = new XMLHttpRequest; ... After sending the request the 'tmp' table has one entry filled with 'test'. ... Or what is the reason of my problem in getting the SJAX call twice while using the POST method? ...
    (comp.lang.javascript)
  • 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)