XModPro

Dynamically Name and retrieve cookies

Brian Shepherd Brian Shepherd asked Jan 18, 2014
Active Jan 18 · Viewed 1461 times
<p>Is there a way to retrieve a dynamically-named cookie for use in a template?</p><p>I am attempting to set a cookie via a checkbox to limit results in a template. My site has multiple portals, and some of the cookies are accessed from other portals, so setting them to a specific portal won't work.</p><p>I can create the cookie easily (cookie_name_[[PortalID]]), but I haven't been able to retrieve it using the cookie parameter, due to not being able to generate the proper cookie name in the parameter tag.</p>

1 Answer

Loading answers...