How to share sessions

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
How to share session? I want to get the session on another resin,so how can I get it?
+
[[Category: HowTo]]
 +
 
 +
How do I share sessions? I want to get the session on another Resin, so how can I get it?
  
 
In Resin 4.0, you can enable distributed sessions with the use-persistent-store tag in the session-config.  
 
In Resin 4.0, you can enable distributed sessions with the use-persistent-store tag in the session-config.  

Revision as of 08:42, 14 January 2009


How do I share sessions? I want to get the session on another Resin, so how can I get it?

In Resin 4.0, you can enable distributed sessions with the use-persistent-store tag in the session-config.

WEB-INF/resin-web.xml

<web-app xmlns="http://caucho.com/ns/resin">

   <session-config use-persistent-store="true"/>

 </web-app>
Personal tools