Forum Discussion
Gigi_32681
Nimbostratus
Dec 31, 2010Session table share across 2 virtual servers
I have 2 virtual servers, vs_1 has an irule to save the information to the session table, vs_2 will read the information for vs_1's session table. As I know session table can be used global...
hoolio
Cirrostratus
Dec 31, 2010Thanks for pointing out sharedvar. I hadn't seen that before.
For pre-10.1, you can use the any virtual key on the session command to share session tables across virtual servers:
http://devcentral.f5.com/wiki/default.aspx/iRules/session
Add a session table entry for $my_key/$my_value with $my_timeout accessible from any virtual server
session add uie $my_key [list $my_value any virtual] $my_timeout
Look up a session table entry for $my_key accessible from any virtual server
session lookup uie [list $my_value any virtual]
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
