Forum Discussion
Donovan_Price_1
Nimbostratus
Mar 25, 2010Irule for Universal Persistance Using a Header Value
Hi
I have created the Irule that reads the value of MySessionId from the header I have removed the logging entries from below to make it simpler what I see is the following: the MySessi...
hoolio
Cirrostratus
Mar 26, 2010Hi Don,
Can you try adding some logging, reproduce the issue and post the anonymized log entries from /var/log/ltm?
when HTTP_REQUEST {
set Sid [HTTP::header value "MySessionId"]
log local0. "[IP::client_addr]:[TCP::client_port]: \$Sid: $Sid"
if { $Sid != "" }{
set value [persist lookup uie $Sid]
log local0. "[IP::client_addr]:[TCP::client_port]: \$value: $value"
if { $value != ""}{
persist uie $Sid
}
}
}
when PERSIST_DOWN {
log local0. "[IP::client_addr]:[TCP::client_port]"
}
when SERVER_CONNECTED {
log local0. "[IP::client_addr]:[TCP::client_port]: [IP::server_addr]:[TCP::server_port]"
}
Also, when you say the app inserts a header in the requests, how does this happen? Is the client a standard browser? I didn't think a server could force a client to insert an arbitrary HTTP header in a request.
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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