• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Frames problem

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have this problem of frame appearing within frame. I have a menu frame and a main frame. Once session is over the main frame route to login page if link in menu is clicked. The user login again and the new frames appear in the previous main frame. So there are 2 menu frame now. 1 which is from the previous login n 1 from the newly login.

So is there any javascript to prevent this.

My frameset html is as below. thanks

<HTML>
<FRAMESET cols="200,*">

<FRAME src="navFrameS.jsp" name="navframe">
<FRAME src="welcomepm.jsp" name="showframe">
<NOFRAMES><P>To view this page, you need a browser that supports frames.</P></NOFRAMES>

</FRAMESET>

</HTML>
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I pesoannly would redo the logic in the log-in page on how it opens the frames or on the log-out page since JavaScript may not be on for every user...

but a basic frame breaker script is


Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic