Hi,

Is there a way to use the cookie-selector to check if a cookie exist, whatever value it has.

I tried :

  <map:select type="cookie-selector">
    <map:parameter name="cookie-name" value="myCookieID"/>
    <map:when test="">
      <map:generate src="nothing.xml"/>
    </map:when>
    <map:otherwise>
<map:generate type="wsproxy" src="{global:ws-url}Id={request:cookieMap/myCookieID/value}"/>
    </map:otherwise>
  </map:select>

but it works if the cookie exist and has an empty value, not if the cookie does not exist.

Regards,
Lionel



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to