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 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.
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: http://umbraco.codeplex.com/workitem/30630
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>
<%
Response.Write(umbraco.library.RequestCookies("lightbox"));
%>
Don't forget to vote on codeplex for the issues you feel should be prioritized. :)
is working on a reply...