Author: sjmenden
Date: 2012-02-21 14:01:41 -0500 (Tue, 21 Feb 2012)
New Revision: 1974
Modified:
branches/JBOSSWEB_2_1_12_GA_patch03_JBPAPP-8158/java/org/apache/catalina/connector/Request.java
Log:
Patch based on JBPAPP-7990
Modified:
branches/JBOSSWEB_2_1_12_GA_patch03_JBPAPP-8158/java/org/apache/catalina/connector/Request.java
===================================================================
---
branches/JBOSSWEB_2_1_12_GA_patch03_JBPAPP-8158/java/org/apache/catalina/connector/Request.java 2012-02-21
18:40:53 UTC (rev 1973)
+++
branches/JBOSSWEB_2_1_12_GA_patch03_JBPAPP-8158/java/org/apache/catalina/connector/Request.java 2012-02-21
19:01:41 UTC (rev 1974)
@@ -2312,8 +2312,11 @@
// Return the current session if it exists and is valid
if ((session != null) && !session.isValid())
session = null;
- if (session != null)
- return (session);
+ if (session != null) {
+ session.setNew(false);
+ session.access();
+ return (session);
+ }
// Return the requested session if it exists and is valid
Manager manager = null;
Show replies by date