-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hi,

I'm trying to make a login page, where the login.html contains a
<SERVLET> tag with a call to a servlet with the  greeting.  The form on
that page calls another servlet, which puts a Boolean value of true in
the sesion as "login.failed" if the user/passwd was wrong.  the
LoginGreeting servlet called through the servlet tag will print "The
user/passwd combination was wrong" if it finds "login.failed" in the
session, otherwise it prints "welcome...please login".

Every time the Login.class redirects to the login.html page, the
LoginGreeting servlet finds the Session.isNew() to be true.  Are
sessions not shared between servlets called directly by apache, and
servlets called by JSSI?

Am I doing something wrong?

Thanks

    -Nissim



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to