Re: help with sessions and frames

2007-11-15 Thread Grant Cox
Just have some javascript on your login page that forces it to break out of any frames. Something like: if (top.location != location) { top.location.href = document.location.href ; } On Nov 15, 5:30 pm, chowdary <[EMAIL PROTECTED]> wrote: > thank you. > > I have put the session timeout

Re: help with sessions and frames

2007-11-14 Thread chowdary
thank you. I have put the session timeout period on each page so if some user remains inactive for 10 minutes (all webforms in main frame), he will be redirected to login.php page through header. Problem is that, the login.php page will certainly be opening in main frame, thus the links in m

Re: help with sessions and frames

2007-11-14 Thread Grant Cox
Frames are separate webpages. If you don't refresh a page, it will not update by itself. So when your session has expired, until the navigation frame is refreshed from the server (to get the new page showing "you are not logged in"), then it will continue to display the same content. On Nov 1

help with sessions and frames

2007-11-14 Thread chowdary
hi, iam using frames in my website, there are 2 frames in site. when sessions are expired the login page is displaying in the main frame, but the other frame as it is in above. why the above frame is not disappearing? is it means sessions are not expired in the above frame? please help me t