tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47317] Incorrect session handling when using session="false" in page directive?
Date Tue, 22 Sep 2009 19:46:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47317

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Mark Thomas <markt@apache.org> 2009-09-22 20:46:03 BST ---
The spec could be clearer but I think the intention is clear that if
session=false then a page isn't meant to be able to use the session.

There are a couple of places where the spec indicates this intention:
- the JavaDoc for JspContext.getAttribute(String,int)
- the JavaDoc for JspContext.getAttributeNamesInScope(int)
- same for PageContext
- JSP.1.8.2 says you can't define objects
and a number of others

With the suggested patch applied, various actions that the spec requires to
trigger an ISE do not.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message