Hi Vaishali,

I dont think you should be getting a page not found due to the value
being put in the session or being retreived from it. Are you able to
access any page at all after the login page? What is the exact error
code thrown on the browser ?

Regards,
Ritesh


----- Original Message -----
From: Vaishali S. Pandya <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 10:16 AM
Subject: session error


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

===========================================================================
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

Reply via email to