You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frank Hamilton <ii...@hotmail.com> on 2009/08/31 11:55:15 UTC
[users@httpd] jsessionId and mod_cache
Hi,
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.
This is the configuration I use mod_cache
CacheEnable disk /
CacheRoot / var/cache/apache2/mod_disk_cache
CacheDirLevels 5
CacheDirLength 3
Anybody know where I can use mod_cache and that the jsessionid is maintained
throughout the user's browsing?
TIA
--
View this message in context: http://www.nabble.com/jsessionId-and-mod_cache-tp25220889p25220889.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] jsessionId and mod_cache
Posted by Igor Cicimov <ic...@gmail.com>.
good work :)
On Wed, Sep 2, 2009 at 4:31 PM, Frank Hamilton <ii...@hotmail.com> wrote:
>
> Thank Igor,
> 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-tp25220889p25252322.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] jsessionId and mod_cache
Posted by Frank Hamilton <ii...@hotmail.com>.
Thank Igor,
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-tp25220889p25252322.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] jsessionId and mod_cache
Posted by Igor Cicimov <ic...@gmail.com>.
So don't cache the set-cookie headers. Read the mod_cache info there is
example how to exclude responses with set-cookie header from caching.
On Mon, Aug 31, 2009 at 7:55 PM, Frank Hamilton <ii...@hotmail.com> wrote:
>
> Hi,
>
> 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.
>
> This is the configuration I use mod_cache
>
> CacheEnable disk /
> CacheRoot / var/cache/apache2/mod_disk_cache
>
> CacheDirLevels 5
> CacheDirLength 3
>
> Anybody know where I can use mod_cache and that the jsessionid is
> maintained
> throughout the user's browsing?
>
> TIA
>
> --
> View this message in context:
> http://www.nabble.com/jsessionId-and-mod_cache-tp25220889p25220889.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>