Forum Discussion
Eric_Weiss_2486
Nimbostratus
Thank you very much, zeiss and Kai. Would this be the correct reverse on the above then?
foreach cookie_name [HTTP::cookie names] { if { $cookie_name ! contains ".test" } then { reject break } }
... or even using the [cookie names] list as a whole...
if { ! [HTTP::cookie names] contains ".test" } then { reject }
Kai_Wilke
Feb 15, 2016MVP
I'd prefer "if { not ( [HTTP::cookie names] contains ".test" ) } then { reject }"
Cheers, Kai