Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how to pass url.id to two files simultancly.

Guest
Sep 10, 2009 Sep 10, 2009

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.

633
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 10, 2009 Sep 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 10, 2009 Sep 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 11, 2009 Sep 11, 2009
LATEST

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.  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources