Response.Redirect

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



Hi there

I am developing an ASP.Net form which submits to a non ASP.net script (not
through choice!).

Basically the form collates a whole bunch of data and builds a query string
from the collected form fields. The query string is then appended on to the
Url of the script and is sent using the Response.Redirect option. e.g.
Response.Redirect(myquerystring)

The problem is that the query string can typically be 2500 characters long
and this doesn't appear to work (although it did work when the query string
contained less fields). The bit that is puzzling is that if I output the
query string onto the page using a literal (instead of sending it to the
script), copy the query string into the browser address bar (via notepad)
and send it, it works just fine?

Anybody aware of any limitations with Response.Redirect with respect to the
length of the Url or any better ways of getting the server to send the data
to the script?

Thanks

Martyn Fewtrell
mfewtrell@xxxxxxxxxxxxxxxxx


.



Relevant Pages

  • Re: dynamically embedding objects in html
    ... I am looking forward to your script. ... flash movie I need to play is test.swf. ... sample code which decodes my query string and embeds the swf file I ...
    (alt.html)
  • Re: Find flagstatus
    ... I wouldn't ask you this if the folder where I should find these mailitems ... or query!? ... but I'll probably stick with the "for each" script I ... I always think it's a good idea to create the query string with a separate ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Logic behind this?
    ... Without the query string the inclusion works fine. ... division of scope within the included PHP script. ... Including either local or remote PHP script files with a HTTP request looks ...
    (comp.lang.php)
  • Re: dynamically embedding objects in html
    ... Thanks Jojo! ... I plan to open the html page from my application. ... I am looking forward to your script. ... sample code which decodes my query string and embeds the swf file I ...
    (alt.html)
  • Re: file type recognition
    ... magic numbers and byte sequences in a bunch of places. ... can definitely tell a bash script from a ksh script from news posts. ... lookup_extensionN times than it is to readdir() followed by open ... Explorer maintains a table associating file extensions with ...
    (comp.os.linux.misc)