tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Question about session
Date Thu, 19 Jun 2003 05:40:00 GMT

----- Original Message -----
From: "Cui Xiaojing-a13339" <a13339@motorola.com>
To: "Tomcat Developers List" <tomcat-dev@jakarta.apache.org>
Sent: Wednesday, June 18, 2003 7:38 PM
Subject: Question about session


> Hello All,
>
> I have used <%@ page session="false" %> to set the page not to join
session, but when I use HttpSession session = request.getSession(false) to
get session, I still can get the session that created before. Do you think
it is a correct status? Why? Thanks.
>

Yes, this is the "correct status".  If you want to know why, either read the
JSP spec, or ask the question on the tomcat-users list.

> <%@ page session="false" %>
> <%
>   HttpSession session = request.getSession(false);
> %>
>
> Regards,
> Xiaojing
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message