You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Rosenberger <pi...@gmx.de> on 2004/05/04 14:45:36 UTC

RE: Problem with the SessionAttributeSelector

Hi!

Has anyone find an answer to this question?

I want to do the same: Test a session attribute (ID => not sessionID, but userID) in sitemap. If session is equals a defined value, it should refer to pageA, else refer to pageB.

What is the correct syntax of the SessionAttributeSelector? Found no document about it.

Regards,
Christian


>From: bremerj 
>Subject: Problem with the SessionAttributeSelector 
>Date: Sat, 24 Apr 2004 12:25:11 -0700 
>I have problems using the SessionAttributeSelector. I have tried
>basically any syntax I have found in the various documents, but none
>worked. The when test is never successful.

>Has anybody managed to use this selector successfully? And what do I
>have to do to make the selector work?

>Thanks for your help.

>Joseph BREMER

 

Re: Problem with the SessionAttributeSelector

Posted by Christian Rosenberger <pi...@gmx.de>.
Forgot to say, that I am using the authentication framework, so the session information is stored as XML.

With SessionModule/SessionAttributeModule I get no access to these session vars.

Any ideas?

Christian
  ----- Original Message ----- 
  From: Christian Rosenberger 
  To: users@cocoon.apache.org 
  Sent: Tuesday, May 04, 2004 2:45 PM
  Subject: RE: Problem with the SessionAttributeSelector


  Hi!

  Has anyone find an answer to this question?

  I want to do the same: Test a session attribute (ID => not sessionID, but userID) in sitemap. If session is equals a defined value, it should refer to pageA, else refer to pageB.

  What is the correct syntax of the SessionAttributeSelector? Found no document about it.

  Regards,
  Christian


  >From: bremerj 
  >Subject: Problem with the SessionAttributeSelector 
  >Date: Sat, 24 Apr 2004 12:25:11 -0700 
>I have problems using the SessionAttributeSelector. I have tried
>basically any syntax I have found in the various documents, but none
>worked. The when test is never successful.

>Has anybody managed to use this selector successfully? And what do I
>have to do to make the selector work?

>Thanks for your help.

>Joseph BREMER