help regarding frames with sessions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chowdary

    #1

    help regarding frames with sessions

    hi,

    I am using frames in my website,main application links are present on
    the top of page above mainframe, in main window. These links have
    target=mainfram e, thus opening respective pages in mainframe.

    I have put the session timeout period on each page so if some user
    remains inactive for 10 minutes, he will be redirected to logout.php
    page through header. Problem is that, the logout.php page will
    certainly be opening in mainframe, thus the links in main parent
    window will remain there. What I need is that this logout.php must be
    opened in parent window , if any page in mainframe finds the session
    timedout. Thank you in advance for any help ...
  • Rik Wasmus

    #2
    Re: help regarding frames with sessions

    On Thu, 15 Nov 2007 10:19:51 +0100, chowdary <php.queries@gm ail.comwrote:
    hi,
    >
    I am using frames in my website,main application links are present on
    the top of page above mainframe, in main window. These links have
    target=mainfram e, thus opening respective pages in mainframe.
    >
    I have put the session timeout period on each page so if some user
    remains inactive for 10 minutes, he will be redirected to logout.php
    page through header. Problem is that, the logout.php page will
    certainly be opening in mainframe, thus the links in main parent
    window will remain there. What I need is that this logout.php must be
    opened in parent window , if any page in mainframe finds the session
    timedout. Thank you in advance for any help ...
    One of the drawbacks of frames. Not solvable with PHP, solve it using
    javascript, or dump the frames if possible.
    --
    Rik Wasmus

    Comment

    • chowdary

      #3
      Re: help regarding frames with sessions

      thankyou....... ..

      if u dont mind can u explain me clearly........

      how can we solve this problem by using java script......... .

      plz help me.........

      Comment

      • Rik Wasmus

        #4
        Re: help regarding frames with sessions

        On Thu, 15 Nov 2007 13:49:33 +0100, chowdary <php.queries@gm ail.comwrote:
        thankyou....... ..
        >
        if u dont mind can u explain me clearly........
        >
        how can we solve this problem by using java script......... .
        Google 'replace top frame javascript'. Any questions you can ask in
        comp.lang.javas cript
        --
        Rik Wasmus

        Comment

        Working...