hi
i've used session in my app.
i putValue in session in login.jsp page after successfull login
session.putValue("utype",utype);
and in all other pages(like emp.jsp) i getValue.
String utype = (String)session.getValue("utype");
if (utype==null || utype.equals("")){
response.sendRedirect("login.jsp");
}
but...
here when i try to open this emp.jsp or any other page directly it should
go to login.jsp but
it takes tooooo much time and at last gives me page not found type browser
error and hangs up.
Can anybody help me please?
Thanks
Vaishali
Reliance Ind Ltd
Ahmedabad
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com