Hello.

I use Resin3.1.1 .

I want to use another cookie name (not JSESSIONID) in resin.

I saw document.
------------------------------------------------------------------
Resin provides session-cookie to let you change
the name of the cookie that Resin uses.
Change the name of the cookie used for session tracking
  <server>

    ...

    <session-cookie>RJESSESSIONID</session-cookie>

------------------------------------------------------------------

And, I try to set resin.conf.

<resin>
  <server-default>
    <session-cookie>RJESSESSIONID</session-cookie>
  </server-default>
</resin>


But, resin attention

---------------------------------------------------
<session-cookie> is an unexpected tag (parent <server-default> starts at
59).

81:       <jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
82:
83:       <session-cookie>RJESSESSIONID</session-cookie>
84:
85:       <!--

<server-default> syntax: ( (@group-name | <group-name>)?
                         & <cluster-port>*
                         & <http>*
                         & (@jvm-arg | <jvm-arg>)*
                         & (@keepalive-max | <keepalive-max>)?
                         & (@keepalive-timeout | <keepalive-timeout>)?
                         & (@keepalive-select-enable |
<keepalive-select-enable>)?
                         & (@keepalive-select-thread-timeout |
<keepalive-select-thread-timeout>)?
                         & (@load-balance-connect-timeout |
<load-balance-connect-timeout>)?
                         & (@load-balance-recover-time |
<load-balance-recover-time>)?
                         & (@load-balance-idle-time |
<load-balance-idle-time>)?
                         & (@load-balance-warmup-time |
<load-balance-warmup-time>)?
                         & (@load-balance-weight | <load-balance-weight>)?
                         & (@memory-free-min | <memory-free-min>)?
                         & (@socket-timeout | <socket-timeout>)?
                         & (@thread-max | <thread-max>)?
                         & (@thread-idle-max | <thread-idle-max>)?
                         & (@thread-idle-min | <thread-idle-min>)?
                         & <ping>*
                         & <protocol>*
                         & (@user-name | <user-name>)?
                         & (@watchdog-arg | <watchdog-arg>)*
                         & (@watchdog-port | <watchdog-port>)?
                         & <rcore:if>*
                         & <rcore:choose>*)
------------------------------------------------------

Where to set session-cookie TAG ?



















_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to