Hi

Thank you for your answer. At the end, we modified that cookie name as you
said.

regards,
rafa

saM-64 wrote:
> 
>> Is there a way to set the session cookie (jsessionid) in a different path
>> than the root (/)? I would like Resin sending the browser something like:
>> Set-Cookie: JSESSIONID=a8_9DJBlfsEf; path=/test
>> but Resin always setÑ
>> Set-Cookie: JSESSIONID=a8_9DJBlfsEf; path=/
>> 
>> We are working in a application served by different AppServer throught a
>> proxy. All the requests are in the same domain but our proxy redirect the
>> request to the correct AppServer discriminating by context-path. So we
>> need
>> the session cookie to be set also per context-path not in root, because
>> if
>> not the AppServer will overwrite the other AppServer cookies.
> 
> If the concern is that you have app servers other than Resin, you can
> tell Resin to use a cookie name other than JSESSIONID
> http://caucho.com/resin/doc/cluster-tags.xtp#session-cookie
> 
> If you have multiple instances of Resin, they will not have a problem
> using the cookie value that was established by other servers, as long as
> reuse-session-id is true (which is the default).
> 
> reuse-session-id is documented here:
> http://caucho.com/resin/doc/session-tags.xtp
> 
> -- Sam
> 
> 
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Session-cookie-in-a-different-path-than---tp16339942p16446337.html
Sent from the Resin mailing list archive at Nabble.com.



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

Reply via email to