[RESOLVED] form action... post to two asp pages??
Hi there,
I was wondering if there is a way to have a form post to two asp pages. I'm not sure that the code I have below is working on the second page listed, but I am not receiving errors... :confused:
<form action="feed_data.asp"&"Feed_Chart.asp" method="POST">
This tag is on a page called feed_date_dropdown.asp, which offers the web user a chance to select criteria, which is in turn passed onto feed_data.asp (this page has a table matching the user's criteria, and a graph which is feed from page Feed_Chart.asp). I am using a program called Chart Director and I haven't been able to directly insert the "chart code" directly onto my feed_data.asp page, instead I am using the following code to insert the chart on the page feed_data.asp:
<IMG SRC="http://192.168.0.10:8008/Feed_Chart.asp">
The only thing is that I'm uncertain if the form is actually posting the data to both pages and I require the Request.Form fields for my queries.
Any suggestions??
Re: form action... post to two asp pages??
no you cant do this, create the chart drawer page as a fucntion and call it from the second page.
Re: form action... post to two asp pages??
Ok, so I've resolved the fact that I cannot post to multiple pages by creating a session variable so that the user input can be called upon from any asp it is needed. This has worked for me:
Session("SesCommodity") = Request.Form("feed_commodity")
Session("SesLocation") = Request.Form("feed_location")