zafer
Oct 22, 2008Nimbostratus
.net persistence issue
Hello
here is my traffic flow
client --> ssl vpn-> Bigip vip-> webserver
the customer use .net application and i try to get aspsessionid and persist it with this code (cookie based)
http://devcentral.f5.com/wiki/default.aspx/iRules/ASP_SessionID_Persistence.html
i can see f5 get sessionid's and add age correctly but LB not working properly, some times i can see f5 load balance connection to each server but sometimes not!!
i cleared all persistence records (b persist all delete) and connections (b conn all delete)
then i tested 5 new client machine each clients load balanced to same server
What can be problem , why this irule interest client ip and port ?
i didnt understand two lines in this code it start "debug"
when HTTP_REQUEST {
set cli [IP::remote_addr]:[TCP::remote_port]
set SessionId [HTTP::cookie ASP.NET_SessionId]
if {$::debug}{log local0. "Client: $cli Request SessionId: >$SessionId<"}
if { $SessionId != "" } { persist uie $SessionId 1800 }
}
when LB_SELECTED {
if {$::debug}{log local0. "Client: $cli LB to: [LB::server addr]"}
}
regards
zafer