For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

trx's avatar
Feb 09, 2011

logging each cookie name failing in logs

Hello all,

The below code is throwing an error in the logs:

 

 

 

when HTTP_REQUEST {

 

set cookies [HTTP::cookie names]

 

foreach cookie $::cookies {

 

log local0. "Cookie: $::cookie"

 

}

 

 

}

 

 

 

Error in logs:

 

 

 

TCL error: qadpreviewdev.qad.com HTTP_RESPONSE - cant read ::cookies: no such variable while executing foreach cookie $::cookies { log local0. Cookie: $::cookie }

 

 

 

Any help if fully appreciated.

 

 

 

Thanks.

 

 

 

Regards,

 

TRX

 

11 Replies