On a certain page I call an include dynament which sets a session
variable named "GivenChapter". When I then try to access the variable
on the original page, it comes up null:

Original Page:
____________________
Line 22: <rde-dm:include content="forms/session.xml" stylesheet="forms/
session.xsl" />
.
.
.
Line: 2312: <rde-dm:attribute mode="read"
attribute="session:GivenChapter" />
____________________


Dyanment: (forms/session.xml)
____________________
...
<rde-dm:attribute mode="write" source="session"
attribute="GivenChapter" value="test" />
...
____________________


Please note that although I have written "test" as the value with
which GivenChapter is populated in the dynament, in "real life" it is
populated with the results of a web service call.

I think I know what is happening: The read dynament on the original
page (Line 2312) is being called before the included dynament
(session.xml, called in Line 22) has been able to set the GivenChapter
session variable, probably because the web service takes a long time
to return.

So, then, the question is:
(1) Am I right?
(2) And, more importantly, how do I fix the situation?

Thanks,
Michael Klosner,
Senior Developer

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to