Hi

I am trying to figure sessions out and the site docs seem contradictory.
For example, does it matter whether I use the namespace xmlns:xsp-session or
xmlns:session in my xsps as these are both given in examples.  Do I also
need to use the namespace declaration in my xsl stylesheets?

I have a static html 'login' page which just posts a username and password
to an xsp.  I have some debugging code in the xsp to just display these
which it duly does.  I also have a Session Id=<xsp-session:get-id/> in the
xsp to print out the session id but this turns out blank on the web page.  I
have an xmlns:xsp-session="http://apache.org/xsp/session/2.0"; and
create-session="true" declaration in the name space of the xsp.  I also have
a <map:redirect-to session="true" uri="index.html"/> at the point of entry
to the website in the sitemap.

There must be something I am missing as the session id does not seem to be
preserved when I get to the xsp.  I can add to the session and retrieve from
it in the xsp though.  Do I need to ditch the static login page and use an
xsp instead with something like this from the cocoon examples:
<session:encode-url href="sessionpage.xsp">Follow me!</session:encode-url>

Cheers in advance for any help.
Jim


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

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

Reply via email to