Hello,

   I am trying to get the user data stored in the authentication session
context in an action.
   I tried:
      SessionManager.getContext("authenticate");
   and:
                 SessionContextProviderImpl.getSessionContext
("authenticate", .......);

   Both methods return a context and if I do
      context.getName();

   it returns "authenticate".

   The problem is that in both cases if I try to get the xml with
    for example:
      context.getXML("/authentication");
    the returned document fragment is always null.

    I have done this for the temporary session context as well and there it
worked.
    I got the data with e.g.:
      context.getValueOfNode("/data/source");

    Please tell me what I am doing wrong here.

    Thanx again for any help.


     miham


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to