You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/09/22 21:46:07 UTC

DO NOT REPLY [Bug 47317] Incorrect session handling when using session="false" in page directive?

https://issues.apache.org/bugzilla/show_bug.cgi?id=47317

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #2 from Mark Thomas <ma...@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