Forum Discussion
route_to_null_0
Nimbostratus
Feb 23, 2009Coke selection based on url
I want selct persistance cokes if the request is not a .wav.
exm
http://192.168.4.70/myurl/4.8.9.11443.p14/Main/Audio/jb_00504.wav.
and selece cokes none if it is above. ...
hoolio
Cirrostratus
Feb 24, 2009Here is an example for using cookie persistence based on the path in the request:
when HTTP_REQUEST {
Check requested path
if {[HTTP::path] ends_with ".wav"}{
Use cookie persistence (session - no timeout) for this request
persist cookie insert my_persist_cookie 0
} else {
Use no persistence for this request
persist none
}
}
AaronHelp 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
