Forum Discussion
Steven_Ruby_872
Nimbostratus
Dec 29, 2005jsession iRule and how to make http profile work
http://webserver/APP/x/goLogin;jsessionid=99EF9DBBA561A788043EF8A8D5FB20A5
does anyone have an iRule that would match this?
the current iRule i am using which i found on devcentral...
Steven_Ruby_872
Nimbostratus
Jan 12, 2006i have used the following irule
when HTTP_REQUEST {
set uri [HTTP::uri]
set jsess [findstr $uri "jsessionid" 11]
log local0. "Entering REQUEST, jsess is: $jsess"
if { $jsess != "" } {
persist uie $jsess
}
}
This does seem to set the persistence, i see a rule in persist show all. But the persistence does not work, after moving around in the application i will randomly be taken back to a login prompt on another server in the pool.
Is there something else i need to be persisting on as once i am logged the jsessionid is no longer in the url?
sr
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