Hi Christian,
I just tried this at a DS Build 11.2.2.320 and it all worked as expected.

I have three files:

test1.html:
<rde-dm:attribute mode="write" attribute="session:testattr" value="hallo"/>
Output: <rde-dm:attribute mode="read" attribute="session:testattr" />


test2.html:
Output before: <rde-dm:attribute mode="read" attribute="session:testattr" 
/><br/>
<rde-dm:attribute mode="delete" attribute="session:testattr" op="remove"/>
Output after: <rde-dm:attribute mode="read" attribute="session:testattr" />


test3.html:
Output: <rde-dm:attribute mode="read" attribute="session:testattr" /><br/>


The output is (I called them in this order):
test1.html:
<rde-html-section>
<![CDATA[ Output: ]]>
</rde-html-section>
<testattr>hallo</testattr>

test2.html:

<rde-html-section>
<![CDATA[ Output before: ]]>
</rde-html-section>
<testattr>hallo</testattr>
<rde-html-section>
<![CDATA[ <br/> ]]>
<![CDATA[ Output after: ]]>
</rde-html-section>
<testattr/>

test3.html:

<rde-html-section>
<![CDATA[ Output: ]]>
</rde-html-section>
<testattr/>
<rde-html-section>
<![CDATA[ <br/> ]]>
</rde-html-section>

Does this only happen in a specific project and can you reproduce this in a 
clear one as well? Does it happen with any attribute name and maybe also 
with other types than session?

Maybe there are any other scripts running in the project that set this 
specific attribute?

Best,
Hilmar

Am Freitag, 4. März 2016 19:04:32 UTC+1 schrieb cburne:
>
> Hi;
>
> I'm having an infuriating issue which I know must be simple.  On page 1, 
> i'm clearing a session attribute like:
>
> <rde-dm:attribute attribute="session:attr1" mode="write" value="" />
>  <rde-dm:attribute attribute="session:attr1" mode="delete" op="remove"/>
>
> I'm also reading it at the very end of this page to be sure there it is 
> not being set internally on the page anywhere.
>
> Then on page 2, i'm reading the session attribute
> <rde-dm:attribute attribute="session:attr1" mode="read" />
>
> There it contains a value.
>
> If I copy the write and delete statements on page 2 above the read, then 
> the read on page 2 is empty.  HOwever, removing the write/delete on Page 2 
> means the value on Page 2 is present.
>
> Is it possible the write/delete command only works per page request?
>
> Thanks.
> Christian
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to