AnsweredAssumed Answered

ESI Cookie value to screen

Question asked by Patrick Clancey on Apr 20, 2017
Latest reply on May 16, 2017 by David Theobald

Hi, I need to write the value of a cookie to the screen and want to check it doesn't contain any script tags or anything nasty. 

What would be the best a good way to do this? 

 

<h2>My Cookie: $(HTTP_COOKIE{'MyCookie'})</h2>

 

Thanks 

Outcomes