Forum Moderators: open

Message Too Old, No Replies

How do you pass data to frames page

         

tesla

3:02 am on May 8, 2002 (gmt 0)

10+ Year Member




How do you pass data from a non-frame page to a frame page?

For example, If I have a form on a non-frame page, and I want to send it's data to a frameset of say 4 frame pages, How do I get the data passed to be available to any one, or all of the 4 frame pages?

I'm currently passing the data as part of the URL and then pulling the data with ASP code such as data=Request("passed_data")
But the data is all null. THis normally works fine between the same type page (non frame to no-frame, or within a frameset)

Thanks,

DrDoc

3:56 am on May 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure that the page building the frameset contains the data=Request("passed_data") code.

tesla

4:02 am on May 8, 2002 (gmt 0)

10+ Year Member



I dont' Understand? Your referring to the page which contains the frameset code? THe mater frame.

What do I need to include on this page that will ultimately pass the data to the frame pages?

tesla

4:37 am on May 8, 2002 (gmt 0)

10+ Year Member



Never Mind.....I get it.

bill

10:13 am on Oct 21, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Could anyone elaborate on this? I don't get it.

I want to pass submitted form variables using post to an ASP page contained in a frameset. It sounds simple, but maybe I'm missing a step here.

RossWal

4:12 pm on Oct 21, 2002 (gmt 0)

10+ Year Member



Bill,
Here's what I have done, inellegant as it may be. In the ASP page that represents the frameset, I pull in the variables (in my case from a querystring, but a posted formn should work the same). I use those to dynamically build the querystring for the target frame page. That querystring gets appended to the URL in the frameset.

Ross

bill

2:50 am on Oct 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks RossWal I think I'll probably have to do it that way. I was really trying to do this without resorting to the use of the QueryString, but I couldn't find another way to pass those variables without resorting to Session variables or Cookies which I didn't want to do either.

Thanks for giving my tired brain a kickstart though ;)