Forum Discussion
Dave_McCauley_3
Jan 10, 2019Cirrostratus
So you want to do a for loop on the list of cookies that the names gives you:
set cookies [HTTP::cookie names]
loop through each cookie by name in request
foreach aCookie $cookies {
do Stuff (tm) to $aCookie
switch $aCookie... or whatever you want to do
}
You can do the string tolower on a cookie name, but note that in your example it would never match because it would have to be all lower "jsesssionid"
Hope this points you in the right direction!
--D