Hi,
I had th esame problem, and I choose to force the login page to go top. herte
is how i did this...
<SCRIPT>
<!--
function goTop()
{
if(top.location.href != self.location.href)
{ self.location.href = '/AppArom/seeIfLogged.jsp?LogInfo=relog' // this is
for my stuff !
top.location.href = self.location.href
}
}
-->
</SCRIPT>
<BODY onLoad="goTop()">
Hope this help
Mohan_Adikesavalu a écrit :
> This mail got bounced back , so i am resending the same message.'
>
> > Hi ,
> >
> > I have developed a web site with lots of frames . The user need to enter
> > the user id and pwd in the initial page , once it is valid the it will go
> > into site.
> >
> > I am storing the user name in the session. If the user is not browsing
> > this site , then session gets expired. When session is expired i am
> > redirecting the page to login screen.
> >
> > My problem , when session gets expired the login page is displayed in one
> > of the frames which user as last browsed. Assume a web page is spilt into
> > two frames ie (80% 20%) , now think how it looks. Basically it should
> > display in full screen not in frames.
> >
> > The code i am using to redirect the page is
> >
> > HttpSession session = request.getSession (true);
> >
> > if (session.getValue("logon.isDone") == null)
> > response.sendRedirect ("/login.jsp?session=false" );
> >
> >
> > Could anyway help me .
> >
> > Thanks
> > Mohan.A
> >
> >
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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".
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