Forum Discussion
Jonathan_Landis
Nimbostratus
Feb 09, 2006Multiple message-header fields with the same field-name
The following rule logs the "Cookie" header of http requests:
when HTTP_REQUEST {
set ch [HTTP::header "Cookie"]
if {$ch != ""} {log local0. "$ch"} else {log local0. "no cookie"...
Feb 09, 2006
The HTTP::header command will, as you found out, pull the last header with the given name.
You might want to take a look at the HTTP::cookie command for accessing cookies
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__cookie.html
Click here
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects