Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
HI,
i set a item in the session on my template
<umbraco:Item field="pageID" runat="server" xslt="umbraco.library:setSession('myKey', '{0}')"></umbraco:Item>
then when i get in the xslt
<xsl:value-of select="umbraco.library:Session('myKey')" />
the result is $itemData for every field
am i missing anything?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Set Session in template Get in XSLT results in $itemData
HI,
i set a item in the session on my template
<umbraco:Item field="pageID" runat="server" xslt="umbraco.library:setSession('myKey', '{0}')"></umbraco:Item>
then when i get in the xslt
<xsl:value-of select="umbraco.library:Session('myKey')" />
the result is $itemData for every field
am i missing anything?
is working on a reply...