>     HttpSession session = request.getSession();

Also, the request.getSession() method is overloaded as
request.getSession(boolean) with the boolean param specifying
whether to create a new session if one does not exist, i.e.
if request.getSession(false) is used a new HttpSession will
not be instantiated if one does not already exist.  This
allows for more specific user checking in that you can check
if there is a valid session as well as if there is a valid
user stored in the session.


 ---
Michael Wentzel
Software Developer
<A HREF="http://www.aswethink.com">Software As We Think</A>
<A HREF="mailto:[EMAIL PROTECTED]">Michael Wentzel</A>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to