Skip to main content
September 10, 2009
Question

how to pass url.id to two files simultancly.

  • September 10, 2009
  • 3 replies
  • 675 views

Hi;

I am using frame to have 3 file in it, 1 for list 2nd for it's image and 3rd for it's detail. I pass url to image page but I want to know how can I pass url.id to 3rd page which i want to use for details.

I try with session.id but it works for one time because fram does not refress and 3rd page does not get new session.

    This topic has been closed for replies.

    3 replies

    BKBK
    Community Expert
    Community Expert
    September 11, 2009

    A URL variable is passed by the client, not by the server. So there is no point to look for logic to pass it in the server.

    You were on the right track with sessions. If the session is broken for one or more pages in the frame, it means your application isn't managing the sessions well. That is a problem I would want to solve, in any case. Once you get the session flowing from one page to the next, the session variables will be passed from page to page.  

    Inspiring
    September 10, 2009

    Loading frames is a client-side consideration, so not really anything to do with CF: CF just sees a request coming in, it does not know or care about the frame layout in the client browser.

    What you could be doing in the browser is have an onclick event handler on the link in the list which sets the location of one of the frames, and have the link set the location of the other frame.

    If you google "link load two separate frames" there's be a stack of people having had the same question, and you'll see the code to do it there as well.

    --

    Adam

    Inspiring
    September 10, 2009

    At the end of page 2 you have to do something to refresh page 3.  I'd be looking at js or meta refresh if it were my task.