cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SAXESS - Hussayn Dabbous <>
Subject Re: Server to Server Cookie?
Date Fri, 10 Jan 2003 10:18:46 GMT

As far as i am informed, the web proxy generator does NOT
preserve session state!

I am active in this field and together with Lajos Moczar developing
a new module based on a pseudo protocol (actually, it's lajos, who
does the coding).

Following sitemap snippet shows what we intend to provide:

       <map:match pattern="**.xml">
         <map:generate src="proxy:/{1}.xml"/>
         <map:transform src="xsl/saxess.xsl"/>
         <map:serialize type="xml"/>

note the pseudo protocol "proxy:". When using this protocol, the
protocol-handler will be responsible for transfering the user
cookies back and forth between the browser and the far side server.
We will provide a description of how this works in detail.
With this new pseudo protocol we are quite shure, that all kind of
existing generators including the webproxy generator will get the
capability of session preserving automatically...
At the moment we are testing the code and checking for all kind of
related problems. But we also know, the current solution will be
only one step to a 100% solution. I hope, that we can release
something during next week. This will certainly be packaged in
a way, that it can be applied to cocoon-2.0.4 and i think also
for the current development version because anything else
wouldn't make sense.

I think, it's up to the comitters to decide, if the new protocol
will find it's way into the cocoon core...

We will anounce the availability of the new module
as soon as it has proved to work.

regards, hussayn

Ugo Cei wrote:
> Eduardo Zurita wrote:
>> Hello,
>>     I have to develop a web application. The data source is a remote 
>> computer that serves XML data. The authentication method is a 
>> encrypted cookie. The remote server checks if the cookie is present in 
>> the user's browser. The problem is:
>>     I want introduce Cocoon as the software that does the request to 
>> the remote server, not the user browser. Can I simulate the Cookie or 
>> has Cocoon a way to resolve this? It's a session Cookie, not persistent.
> I think the Web Services Proxy Generator might help you here. It's in 
> Cocoon 2.1 only, I think. If you install C2.1, have a look at 
> http://localhost:8080/cocoon/documents/userdocs/generators/wsproxy-generator.html 
>     Ugo

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message