Post Variables to External Script

  • Thread starter Thread starter Deb M.
  • Start date Start date
D

Deb M.

I am trying to find out how I can use the ASP.net framework yet still
post the variables to an external script (not ASPX) after the form has
been submitted. So, the ASPX page will still post to itself, but then
I need to transfer the variables to another page. I need to do this
transfer using the POST method and not the GET method.

I tried user Server.Transfer("http://localhost/test.asp") but it
retuns an error of "System.Web.HttpException: Error executing child
request"

Any ideas on how to do this?

Any help is appreciated!
Debbie
 
There is a Knowledge Base Article (#320439) that may help you with this
issue. The URL is:
http://support.microsoft.com/default.aspx?scid=kb;en-us;320439

Chris Moore [MSFT]

--------------------
From: (e-mail address removed) (Deb M.)
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: Post Variables to External Script
Date: 11 Jul 2003 07:18:52 -0700
Organization: http://groups.google.com/
Lines: 14
Message-ID: <[email protected]>
NNTP-Posting-Host: 162.39.187.253
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1057933132 24453 127.0.0.1 (11 Jul 2003 14:18:52 GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: 11 Jul 2003 14:18:52 GMT
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-
xit-09!supernews.com!postnews1.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158539
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

I am trying to find out how I can use the ASP.net framework yet still
post the variables to an external script (not ASPX) after the form has
been submitted. So, the ASPX page will still post to itself, but then
I need to transfer the variables to another page. I need to do this
transfer using the POST method and not the GET method.

I tried user Server.Transfer("http://localhost/test.asp") but it
retuns an error of "System.Web.HttpException: Error executing child
request"

Any ideas on how to do this?

Any help is appreciated!
Debbie


--

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
sure,

Create a System.Net.WebRequest object, and re-post what you need to the
legacy application from the .Net application.
 
Back
Top