Results 1 to 3 of 3

Thread: [RESOLVED] form action... post to two asp pages??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    6

    Resolved [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...

    <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??

  2. #2
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    6

    Cool 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")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width