You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Craig Christophersen <cr...@synesis7.com> on 2004/08/10 19:33:24 UTC

cache all requests

I need to cache all requests for the session, then commit them to a database(thru middleware) upon exit.
I downloaded the new 2.1.5.1 (currently using 2.1.4)version to look into the RequestListener but find little info on it.  Any help on how to implement it? I find nothing when 
searching the Wiki. Or would utilizing JCS do this?

Craig Christophersen

craigch@synesis7.com

Re: cache all requests

Posted by Ralph Goers <Ra...@dslextreme.com>.
Craig,

There is a sample RequestListener in the src/Samples directory.  It isn't
particularly useful, but it is a start.  To enable the request listener
add the following to cocoon.xconf:

    <component class="com.whatever.MyServletRequestListener"
        logger="core.manager.listener"
role="org.apache.cocoon.RequestListener">
    </component>

That's all there is to it.

Ralph

Craig Christophersen said:
> I need to cache all requests for the session, then commit them to a
> database(thru middleware) upon exit.
> I downloaded the new 2.1.5.1 (currently using 2.1.4)version to look into
> the RequestListener but find little info on it.  Any help on how to
> implement it? I find nothing when
> searching the Wiki. Or would utilizing JCS do this?
>
> Craig Christophersen
>
> craigch@synesis7.com


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