Hi ,

I have developed a web site with lots of frames (I know frames is not a good
web design). The  user need to enter the login user name and password 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

Reply via email to