Ask a Question related to ASP.NET General, Design and Development.
-
Deb M. #1
Post Variables to External Script
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
Deb M. Guest
-
Variables in PayPal post
The following code posts information to PayPal: <td><form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden"... -
Apache/PHP Post Variables
I'm working with someone on a PHP project. The other person is doing testing of scripts on their personal machine using Apache as a web server.... -
How do I POST variables to a php script ON A LOCALSERVER - I AM PULLING MY HAIR OUT
Hi everyone and anyone I am running Apache2, Mysql and php on my P4. When I run a simple php script that inserts new data into a database... -
Problem with the post variables.
Guys I have a problem here. I'm using PHP 4.3.2 and httpd 1.3.28. Look my exemple. I have a page whith a Form method post, and I submit this page... -
[PHP] Problem with the post variables.
ooooooops .. my mistake .. Usually I check thing before I post, forget it once .. that's how I make mistakes.. Anyways, I still am pretty sure... -
Chris Moore [MSFT] #2
RE: Post Variables to External Script
There is a Knowledge Base Article (#320439) that may help you with this
issue. The URL is:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;320439[/url]
Chris Moore [MSFT]
--------------------14:18:52 GMT)>From: [email]deb_marti@yahoo.com[/email] (Deb M.)
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>Subject: Post Variables to External Script
>Date: 11 Jul 2003 07:18:52 -0700
>Organization: [url]http://groups.google.com/[/url]
>Lines: 14
>Message-ID: <da8adae8.0307110618.507b945b@posting.google.com >
>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 2003cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: 11 Jul 2003 14:18:52 GMT
>Path:
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
[url]http://www.microsoft.com/info/cpyright.htm[/url]
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.
Chris Moore [MSFT] Guest
-
David Waz... #3
Re: Post Variables to External Script
sure,
Create a System.Net.WebRequest object, and re-post what you need to the
legacy application from the .Net application.
"Deb M." <deb_marti@yahoo.com> wrote in message
news:da8adae8.0307110618.507b945b@posting.google.c om...> 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
David Waz... Guest



Reply With Quote

