Naumin_Dave_144
Apr 28, 2016Nimbostratus
Need help with JSESSIONID persistence
Have Universal persistence set up and use this irule:
when HTTP_RESPONSE {
log "Server Address [IP::server_addr]"
if { [HTTP::cookie exists "JSESSIONID"] } {
persist add uie [HTTP::cookie "JSESSIONID"] 3600
}
}
when HTTP_REQUEST {
log "request for [ HTTP::uri ] , when sessionId is -- [HTTP::cookie "JSESSIONID"] "
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"] 3600
}
}
Below are the logs which we are getting on this Irule:
Apr 28 23:07:06 slot4/TUS3-F5-SYMC-EXT-NP1 info tmm[11639]: 01220002:6: Rule /Common/Universal_Test : request for /etc/designs/symantec/main.css.map , when sessionId is -- 51TdXvXVBj9d2d9HYp2nLyhGKTyN11SszF3bh2FKhMRLzwnnhX92!1417854095
Apr 28 23:07:06 slot4/TUS3-F5-SYMC-EXT-NP1 info tmm[11639]: 01220002:6: Rule /Common/Universal_Test : Server Address 10.44.2.19
Apr 28 23:07:10 slot4/TUS3-F5-SYMC-EXT-NP1 info tmm[11639]: 01220002:6: Rule /Common/Universal_Test : request for /bin/symantec/prodcutazsearch , when sessionId is -- xhPpXvXdSpd1V1P5R9VsSydh0jhqJY44cDLgQ5HYSgTFGBy16gpS!-38156817
Apr 28 23:07:10 slot4/TUS3-F5-SYMC-EXT-NP1 info tmm[11639]: 01220002:6: Rule /Common/Universal_Test : Server Address 10.44.2.19
we want to persist SessionID over here and which is failing with this Irule as you can see from logs.
can someone please help me, what part is missing in this irule?
Thanks a lot for your time and help in advance.