Andoni,
On reading more closely I find that this directive does not allow me to use
sessions at all.

This does not wok as the "off-switch" in the <[EMAIL PROTECTED] part is permanent.

<%@ page
 session="false"
%><%

// If this user has an active session... USE IT!
if(null != request.getSession(false))
{
 response.sendRedirect("myMainMenu.jsp");
}
else
{
 request.getSession();
}
%>

You can still use the session, it's just not declared for you. You have to do this:


<[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]



Reply via email to