Hi,
My session object contains the data of the database it has to connect
to. When the session expires, I get an error when trying to connect.
I could capture this in my code, but I would rather do it in my sitemap.
Can I do this ?
I would like to start a different generator based up the ses
Can't you use a map:selector to test wether the session is empty?
Regards Ard
>
> Hi,
>
> My session object contains the data of the database it has to connect
> to. When the session expires, I get an error when trying to connect.
> I could capture this in my code, but I would rather do it i
Don't know, that's what I was asking (kind of)
Ard Schrijvers wrote:
Can't you use a map:selector to test wether the session is empty?
Regards Ard
Hi,
My session object contains the data of the database it has to connect
to. When the session expires, I get an error when trying to conne
in your map:components in map:selectors define:
in your sitemap, do something like:
etc etc
Hope this helps...
Regards Ard
>
> Don't know, that's what I was asking (kind of)
>
Ok, tnx
I'm gonna try to do this.
Ard Schrijvers wrote:
in your map:components in map:selectors define:
src="org.apache.cocoon.selection.SimpleSelector"/>
in your sitemap, do something like:
This is my code, eventually, which is what you've written down basically.
Thank you
value="ended{session-attr:dbase}"/>
typ