What's the correct way to mantain sessions through the different JSP's?
I use the following in my JSP pages:

<%@ page session="true" %>
<% if (session.isNew()) { %>

    ----- web page ----

<% } else { %>
 <% session.putValue("error","Don't have accese to this page."); %>
     <jsp:include page="/PlazaSite/error.jsp" flush="true" />
<% } %>

But I'm having some problems. I use JRun + Apache + Oracle's JSP
implementation (ojsp.zip).
I that the correct way of doing it?
Thank you in advance,


                Esteban Chiner Sanz

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to