Copied to clipboard

Flag this post as spam?

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

  • Henri Toivonen 77 posts 111 karma points
    Dec 04, 2011 @ 18:24
    Henri Toivonen

    Cookie as Macro parameter

    I am having troubles with using cookies as a parameter to a macro. The cookie is there, with a value, i can get the value in the macro itself through Request.Cookies but the Parameter is always null. Is this working properly?

    I'm on Umbraco 4.7.1.

    CP issue here:

  • Jeff Kwong 31 posts 51 karma points
    Dec 16, 2011 @ 19:24
    Jeff Kwong

    I'm having the same problem. The macro should return imageNodes but comes up blank.  The Response.Write returns the cookie value.  I can pass strings, page properties, etc. to the macro so that's working fine.

    <umbraco:Macro imageNodes="[%cookie]" Alias="GetLightboxImages" runat="server"></umbraco:Macro>


  • Henri Toivonen 77 posts 111 karma points
    Dec 16, 2011 @ 19:36
    Henri Toivonen

    Don't forget to vote on codeplex for the issues you feel should be prioritized. :)

Please Sign in or register to post replies

Write your reply to: