You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Schrijver <ma...@mobillion.nl> on 2006/03/01 15:37:04 UTC

encodeURL and jsessionid problems

Hello,

I'm having the following problem:
In my website I start on a cocoon server. But I need to redirect from here to a standard apache only server to do some stuff there. I use the encodeURL to keep the session data intact when transfering to the other server because I want this to work if the user has cookies disabled.
I have an action I perform each time a site is requested on the cocoon server. In this action I want to determine if the redirect to the standard apache server has already taken place. I do this by setting a boolen into the session object. 

The problem however is that each page request seems to generate a new session object. Each time I select a link on the website, I get a new and different jsessionid. This causes the redirect to the apache server to be done each time a page is requested instead of just once.

Does anyone know how to remedy this?

Mark

Re: encodeURL and jsessionid problems

Posted by Antonio Gallardo <ag...@agssa.net>.
Can you post the entry page pipeline on your sitemap?
Also, versions might help.

Best Regards,

Antonio Gallardo.

Mark Schrijver wrote:

> Hello,
>
> I'm having the following problem:
> In my website I start on a cocoon server. But I need to redirect from 
> here to a standard apache only server to do some stuff there. I use 
> the encodeURL to keep the session data intact when transfering to the 
> other server because I want this to work if the user has cookies disabled.
>
> I have an action I perform each time a site is requested on the cocoon 
> server. In this action I want to determine if the redirect to the 
> standard apache server has already taken place. I do this by setting a 
> boolen into the session object.
>
> The problem however is that each page request seems to generate a new 
> session object. Each time I select a link on the website, I get a new 
> and different jsessionid. This causes the redirect to the apache 
> server to be done each time a page is requested instead of just once.
>
> Does anyone know how to remedy this?
>
> Mark
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org