Author: sjmenden
Date: 2012-02-20 15:29:08 -0500 (Mon, 20 Feb 2012)
New Revision: 1970
Modified:
branches/JBOSSWEB_2_1_12_GA_JBPAPP-8158/java/org/apache/catalina/connector/Request.java
Log:
Changes based on JF's code from
https://issues.jboss.org/browse/JBPAPP-7990
Modified:
branches/JBOSSWEB_2_1_12_GA_JBPAPP-8158/java/org/apache/catalina/connector/Request.java
===================================================================
---
branches/JBOSSWEB_2_1_12_GA_JBPAPP-8158/java/org/apache/catalina/connector/Request.java 2012-02-20
20:10:15 UTC (rev 1969)
+++
branches/JBOSSWEB_2_1_12_GA_JBPAPP-8158/java/org/apache/catalina/connector/Request.java 2012-02-20
20:29:08 UTC (rev 1970)
@@ -2312,8 +2312,11 @@
// Return the current session if it exists and is valid
if ((session != null) && !session.isValid())
session = null;
- if (session != null)
+ if (session != null) {
+ session.setNew(false);
+ session.access();
return (session);
+ }
// Return the requested session if it exists and is valid
Manager manager = null;