4

I need to check for a designexception if a cookie does not exist.

I only know how to check if a cookie exists.

if (req.http.Cookie ~ "cookiename") {}
David Buck
  • 3,752
  • 35
  • 31
  • 35
exe
  • 539
  • 7
  • 18

1 Answers1

4

Ok I think I found it out. Is like in other languages.

if (!req.http.Cookie ~ "cookiename") {}

exe
  • 539
  • 7
  • 18