Forum Discussion
Nicolas_Menant
Employee
Mar 31, 2008Session command and any virtual ...
Hi,
i faced an issue when trying to share session data between VS:
here was my code:
when HTTP_REQUEST {
if {[session lookup uie {[IP::client_addr] any virtual}] eq ...
Nicolas_Menant
Employee
Mar 31, 2008Out of curiosity i tried this iRule:
when HTTP_REQUEST {
set line "[IP::client_addr] any virtual"
if {[persist lookup uie {[IP::client_addr] any virtual}] eq ""} {
log local0. "no session data found"
persist add uie {[IP::client_addr] any virtual} 1800
} else {
log local0. "session data found "
}
}and it works, so here the syntax is fine, it doesn't work only for the session command
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