I am trying to find out if I can create a JSP which does not create a session (that bit's easy) and yet can use sessions if it decides that one doesn't exist already.
What a coincidence... I just answered this in another thread:
<[EMAIL PROTECTED] session="false"
import="javax.servlet.http.HttpSession"
%>
<%
HttpSession session = request.getSession(false); if(null == session)
// Do something
else
// Do something else
%>-chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
