Forum Discussion
Persist uie lookup on 2 variables
i have 2 variables in my persist uie statement. 1st irule contains persist uie "$sessionid:$calling_station_id"
From a 2nd Irule i'm parsing Http::uri, pulling session id. set sessionid [findstr [HTTP::uri] "session" 10 &] i'm logging the correct value but when i do a [persist lookup uie $sessionid] i get a blank value. how do i do a lookup on the uie persist table for one of the variables. the persist table contains persist uie "$sessionid:$calling_station_id 0a199e045bb7da86000084ed:00:b3:62:78:72:95
1 Reply
- Andy_McGrath
Cumulonimbus
Running
persist uie "$sessionid:$calling_station_id"Is storing the concatenation of “sessionid”, “:” and “calling_station_id” as the persistence table key. You will need to look up with the full key or change the “persistence uie” to only use a single value, like the “sessionid”
If you want to then store additional data in the session table you can use the commands;
session add session lookup session deleteE.g.
persist uie "$sessionid" session add uie "$sessionid" "$calling_station_id"See the following article iRules 101 session command or the iRules wiki for more info.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
