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 to all,
I have been trying to set a session variable using followin code snippet in xslt. But when I debug it, no value is set.
<xsl:value-of select="umbraco.library:setSession('lang',$dlang) " />
Am I missing something?
Hi pravetiy
How are you debugging the code? And are you 100% sure that the $dlang variable has a value?
/Jan
I am unable to simply set it from xslt. But if I do this from the usercontrols its works fine. Also I tested this in Visual Studio, but no work.
Hi Jan,
Is there a work around for the setting this from the xslt itself?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Session value not set
Hi to all,
I have been trying to set a session variable using followin code snippet in xslt. But when I debug it, no value is set.
<xsl:value-of select="umbraco.library:setSession('lang',$dlang) " />
Am I missing something?
Hi pravetiy
How are you debugging the code? And are you 100% sure that the $dlang variable has a value?
/Jan
I am unable to simply set it from xslt. But if I do this from the usercontrols its works fine. Also I tested this in Visual Studio, but no work.
Hi Jan,
Is there a work around for the setting this from the xslt itself?
is working on a reply...