[squid-users] Squid ESI and choose/when

From: Marcel Alburg <alb@dont-contact.us>
Date: Fri, 11 Jan 2008 21:21:57 +0100

Hello,

i wanna try the new ESI support in squid but the choose/when doesn't
work for me

<esi:choose>
  <esi:when test="$(HTTP_COOKIE{sess_id}) != '')">
    <esi:vars>
      Cookies: $(HTTP_COOKIE{sess_id})<br>
    </esi:vars>
  </esi:when>
  <esi:otherwise>
    No Session
  </esi:otherwise>
</esi:choose>

How it is possible to Check if a Cookie is set ?

Thanks in advance

Marcel
Received on Fri Jan 11 2008 - 13:22:07 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST