Forum Discussion
swabbies_112156
Jan 23, 2012Nimbostratus
Time-based class
Hello.
Does anyone know of a way to implement time-based members of a class?
We are looking to implement an Irule that uses class entries that will expire after a defined time-peri...
Newlines won't print in the log messages and the function you're looking for is called "join." I think the combination is what may be causing your issue here. Try printing them in an HTTP response like this and see how it works:
ltm rule concat_http_headers {when HTTP_REQUEST { set header_names [HTTP::header names] foreach header $header_names { lappend headers "$header: [HTTP::header value $header]" } HTTP::respond 200 content [join $headers "\n"]}}
Hope this helps,
George