Forum Discussion
5 Replies
Sort By
- nitassEmployee
However, getdata always comes back empty.
did you get the data within idle timeout (default is 180 seconds)?
table
- jemster_44692Nimbostratus
Yes, it was within 1 second.
- nitassEmployee
this is mine.
config root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule myrule80 ltm rule myrule80 { when CLIENT_ACCEPTED { set sess [IP::client_addr] set mydata "testing" table set $sess $mydata log local0. "[virtual name]: table set $sess $mydata" } } root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule myrule81 ltm rule myrule81 { when CLIENT_ACCEPTED { set sess [IP::client_addr] set getdata [table lookup $sess] log local0. "[virtual name]: set getdata \[table lookup $sess\] = [table lookup $sess]" if {$getdata != ""} { do something here } } } test [root@ve11a:Active:In Sync] config tail -f /var/log/ltm May 19 18:33:48 ve11a info tmm[14715]: Rule /Common/myrule80 : /Common/bar80: table set 172.28.24.1 testing May 19 18:33:52 ve11a info tmm[14715]: Rule /Common/myrule81 : /Common/bar81: set getdata [table lookup 172.28.24.1] = testing
- Kevin_StewartEmployee
Is it at all possible that you have a race condition - the possibility that you're trying to read the value before it's been set? Do you have a priority defined in each event declaration? Or do you have the iRules applied in a specific order in the GUI (v11)?
- Georgi__Joe__StAltostratus
Is that issue solved and how? I have exact same problem at the moment. (11.6.0)