Use some javascript in the login page to check for a frame and if so then
reload into the main window. something like ...

<script>
if (self.parent.frames.length != 0)
self.parent.location="myloginform.jsp";

</script>

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Abhijeet Surve
Sent: Wednesday, June 06, 2001 4:32 PM
To: [EMAIL PROTECTED]
Subject: Urgent...any help would be appreciated


guys...

the gui which we are using is made up of frames.there is a banner frame, a
navigation frame, a status frame and the main working area frame.

the problem i am trying to address is related to session timeouts.

consider the case that the user did not do any activity for a certain time
as a result of which he was logged out...now if he were to do anything,he
will be taken to the login page.

we have a LoginManager class which sees whether the user is logged in or not
and behave accordingly.

so coming back if the user is logged out and tries to do anything
he is taken to the login page.............

***********
however the login page occupies the same space as the main working area
frame while the other frames remain intact.
***********

my question...how can we make the login page occupy the entire screen.....

any kind of help would be appreciated
thanx
abhi

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to