Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • praveity 100 posts 125 karma points
    Jun 06, 2011 @ 06:41
    praveity
    0

    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?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jun 06, 2011 @ 18:15
    Jan Skovgaard
    0

    Hi pravetiy

    How are you debugging the code? And are you 100% sure that the $dlang variable has a value?

    /Jan

  • praveity 100 posts 125 karma points
    Jun 08, 2011 @ 11:08
    praveity
    0

    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.

  • praveity 100 posts 125 karma points
    Jun 30, 2011 @ 08:45
    praveity
    0

    Hi Jan,

    Is there a work around for the setting this from the xslt itself?

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies