Forum Discussion
jay_41157
Nimbostratus
Dec 09, 2009Session 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""
1 Reply
- hoolio
Cirrostratus
Can you try changing any virtual to any pool? Also, can you clarify which code is running on which VIP and why you're changing the URI?
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects