help regarding frames with sessions
am 15.11.2007 10:19:51 von chowdary
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=mainframe, 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 ...
Re: help regarding frames with sessions
am 15.11.2007 13:43:55 von luiheidsgoeroe
On Thu, 15 Nov 2007 10:19:51 +0100, chowdary wro=
te:
> 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=3Dmainframe, 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
Re: help regarding frames with sessions
am 15.11.2007 13:54:44 von luiheidsgoeroe
On Thu, 15 Nov 2007 13:49:33 +0100, chowdary wrote:
> 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.javascript
--
Rik Wasmus