Frank Hamilton wrote:
> 
> 
> 
> Frank Hamilton wrote:
>> 
>> 
>> 
>> Rainer Schöpf wrote:
>>> 
>>> On Mon, 31 Aug 2009, Frank Hamilton wrote:
>>> 
>>>  > I mounted lenya with apache2 reverse proxy and mod_cache
>>>  > My problem is that the JSESSIONID that the cliente id for navigation
>>> is not
>>>  > maintained throughout the navigation.
>>>  > I think the pages stored in the cache are in the header set-cookie
>>>  > jsessionid = blablabla and this causes the client session identifier
>>> change
>>>  > incorrectly. Hence all the client data you store in session
>>> disappear.
>>> 
>>> Did you set ProxyPassReverseCookiePath ? lenya sets /lenya as cookie
>>> path and 
>>> you might need to change that, e.g.
>>> 
>>>  ProxyPassReverse / ajp://localhost:8209/lenya/1/live/
>>>  ProxyPassReverseCookiePath /lenya /
>>> 
>>>  Rainer
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>>> 
>>> 
>> 
>> Thanks Rainer,
>> 
>> I will try this configuration and comment on the result:
>> 
>>  ProxyPassReverse / http://www.xxxxx.com:8888/PINTUREX/live/
>>  ProxyPassReverseCookiePath /PINTUREX  /
>> 
>> 
> Hi,
> It seems that does not work. At the beginning with the cache clean or
> lightly loaded everything seems to work fine, but
> when the cache increases the server starts sending pages whose header
> contains a new set-cookie jsessionid value
> making lose your data session on the server.
> 
> This is a big problem for my application, Has anyone had this problem?
> 
> 
> 

Hi,
well, I think the issue is resolved, to prevent cached page header I used
CacheIgnoreHeaders, and in my case y do not want to cache set-cookie value.
CacheIgnoreHeaders set-cookie, with this directive the diferent user session
is not  mix.
Thanks.
-- 
View this message in context: 
http://www.nabble.com/jsessionId-and-mod_cache-tp25220899p25252293.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to