jay_41157
Dec 09, 2009Nimbostratus
Session Variable.
HI, I have: VS1 with an IRULE that looks at the uri, if URI matches then I use the Virtual command in the irule and call VS2, I want to be able to pass the URI that I am doing using sessions.
However I get the below error, any thoughts?
Thanks,
when HTTP_REQUEST {
set key "[IP::remote_addr]:[TCP::remote_port]"
set uri [HTTP::uri]
session add uie "$key any virtual" $uri
if { [HTTP::uri] starts_with "/CommonAssets/" } {
log local0. "*****DEBUG Line ONE [HTTP::uri]"
virtual my_http_vs
set key "[IP::remote_addr]:[TCP::remote_port]"
set uri [session lookup uie "$key any virtual"]
}
Dec 9 09:47:35 tmm tmm[30856]: 01220001:3: TCL error: my_irule - Prerequisite operation not in progress (line 1) invoked from within "session lookup uie "$key any virtual""