Can a asp page post data to another asp page inside frameset?

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Can a asp page post data to another asp page inside frameset?

    I know this is probably easy but here is the details. I have an asp
    page that is not inside a frameset. I want to post data to another asp
    page that is inside a frameset. So firstpage.asp has
    action="response.htm" target="results".

    response.htm...
    <HTML>
    <FRAMESET ROWS="50%,50%">
    <FRAME SRC="header.asp" NAME="fTop">
    <FRAME SRC="another.asp" NAME="results">
    </FRAMESET>
    </HTML>

    I cannot put firstpage.asp into the frameset because it takes data
    from a outside page and I can only specify the return url from that
    outside page to firstpage.asp. This needs to stay within one window
    (ie no opening up new windows).

    TIA

    Luu
    luu duong Guest

  2. Similar Questions and Discussions

    1. Frameset page cannot be previewed remotely
      Hello, I've been using frameset and testing the web pages locally. It worked fine until I added a PHP page to get data dynamically from a...
    2. Email form data AND post to a page
      Newbie here... Can anyone help me? I am able to email form data successfully via CFmail upon submit. I am able to post the data to a page after...
    3. LWP POST - source page received istead of data
      Hello Group, I am new to perl world and especially html. I'm trying to get data from my http server. But instead of expected data I get source...
    4. Getting data from a usercontrol before containing page ends its page load
      How do I load a user control in a web form first, so that the web form's page_load acts according to events on the user control? In my code...
    5. HELP: No POST data found from a ASPX Script HTTPWebRequest into a PHP Page
      We are working with a vendor who is trying to post some some XML data to us. They are using an ASPX script to post to a PHP page of ours. The...
  3. #2

    Default Re: Can a asp page post data to another asp page inside frameset?

    On 7 Oct 2003 14:40:39 -0700, [email]luu_duongtakeout@hotmail.com[/email] (luu duong)
    wrote:
    >I know this is probably easy but here is the details. I have an asp
    >page that is not inside a frameset. I want to post data to another asp
    >page that is inside a frameset. So firstpage.asp has
    >action="response.htm" target="results".
    >
    >response.htm...
    ><HTML>
    ><FRAMESET ROWS="50%,50%">
    ><FRAME SRC="header.asp" NAME="fTop">
    ><FRAME SRC="another.asp" NAME="results">
    ></FRAMESET>
    ></HTML>
    >
    >I cannot put firstpage.asp into the frameset because it takes data
    >from a outside page and I can only specify the return url from that
    >outside page to firstpage.asp. This needs to stay within one window
    >(ie no opening up new windows).
    >
    While I disagree with the use of frames...

    A frameset file is no different than any other HTML file except for
    what is inside. Therefore, you can use an ASP file there too. Change
    respose.htm to respose.asp and pass the querystring value passed to it
    to the another.asp file inside it's "results" frame.

    From firstpage.asp, your post will be...
    action="response.asp"

    I will assume here that you have a form text box named "MyID".

    In response.asp...
    <HTML>
    <FRAMESET ROWS="50%,50%">
    <FRAME SRC="header.asp" NAME="fTop">
    <FRAME SRC="another.asp?MYID=<%=request.form("MyID")%>"
    NAME="results">
    </FRAMESET>
    </HTML>

    Dan Brussee Guest

  4. #3

    Default Re: Can a asp page post data to another asp page inside frameset?

    Yes, your method would work, but what if I wanted to post the
    variables to another.asp because it is a little more secure? Is this
    possible with the current setup?

    Thanks

    Dan Brussee <dbrussee@NOSPAMnc.rr.com> wrote in message news:<2uc6ovot6ju42tl7bso6v4n622iocr3cof@4ax.com>. ..
    > On 7 Oct 2003 14:40:39 -0700, [email]luu_duongtakeout@hotmail.com[/email] (luu duong)
    > wrote:
    >
    > >I know this is probably easy but here is the details. I have an asp
    > >page that is not inside a frameset. I want to post data to another asp
    > >page that is inside a frameset. So firstpage.asp has
    > >action="response.htm" target="results".
    > >
    > >response.htm...
    > ><HTML>
    > ><FRAMESET ROWS="50%,50%">
    > ><FRAME SRC="header.asp" NAME="fTop">
    > ><FRAME SRC="another.asp" NAME="results">
    > ></FRAMESET>
    > ></HTML>
    > >
    > >I cannot put firstpage.asp into the frameset because it takes data
    > >from a outside page and I can only specify the return url from that
    > >outside page to firstpage.asp. This needs to stay within one window
    > >(ie no opening up new windows).
    > >
    >
    > While I disagree with the use of frames...
    >
    > A frameset file is no different than any other HTML file except for
    > what is inside. Therefore, you can use an ASP file there too. Change
    > respose.htm to respose.asp and pass the querystring value passed to it
    > to the another.asp file inside it's "results" frame.
    >
    > From firstpage.asp, your post will be...
    > action="response.asp"
    >
    > I will assume here that you have a form text box named "MyID".
    >
    > In response.asp...
    > <HTML>
    > <FRAMESET ROWS="50%,50%">
    > <FRAME SRC="header.asp" NAME="fTop">
    > <FRAME SRC="another.asp?MYID=<%=request.form("MyID")%>"
    > NAME="results">
    > </FRAMESET>
    > </HTML>
    luu duong Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139