Hello Marco,

thank you very much for your reply. It is a bit irretating that you
can't read something from the session that was set to it earlier in a
serverpage (while working on the same request) but i'll have to live
with it.

Now I wrote an action that does the talking to the session and it works
fine. The serverpages just lost some of their value for me. I was so
happy with the XMLFragment implementation of mine working out so well
but if session modifications are delayed to the next page request ....

Gn8 Heiko!


Am Fre, 2003-01-31 um 20.07 schrieb Marco Rolappe:
> hi heiko,
> 
> please have a look at:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16246
> 
> this explains why the session created in an XSP is not visible later in the
> pipeline (being created after pipeline setup).
> 
> you could create your session within your XSP if you override the
> generator's setup() method within your XSP, creatint your session at that
> point, so the session will be created at pipeline setup time.
> 
> but maybe it's easier to create the session via an action, as already
> suggested.
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]Im
> > Auftrag von Heiko Milke
> > Gesendet: Donnerstag, 30. Januar 2003 16:44
> > An: [EMAIL PROTECTED]
> > Betreff: Re: Accessing session variables in the sitemap.xmap
> >
> >
> > Hey Andrew,
> >
> > Thanks for all your help! But well, it still aint working :(
> >
> > I tried on several browsers. I tried in the mount directory and i
> > tried from
> > the main sitemap. None if it works.
> >
> > Im using cocoon version 2.0.4 (on Windows 2000).
> >
> >
> > Heiko
> >
> >
> > ---------------------------------------------------------------------
> > 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]>
> >
> 
> 
> ---------------------------------------------------------------------
> 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]>
> 


---------------------------------------------------------------------
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