Forum Discussion
colincashin_171
Nimbostratus
Oct 25, 2012iRule to persist based on phpsessid
Hi
I am looking for guidance on setting up persistence based on phpsessid. We are load balancing across 2 Apache web servers and are using phpsessid for persistence between the servers. I wou...
nitass
Employee
Oct 26, 2012I would like to setup an iRule to track the phpsessid in HTTP request/responses and persist to the correct server.where is phpsessid in http response? is it in cookie or custom http header?
set sessionID [findstr [HTTP::path] "PHPSESSID=" 10 26]is PHPSESSID in http path (not query)?
HTTP::path
https://devcentral.f5.com/wiki/iRules.http__path.ashx
TCL error: irule-phpsessid - wrong args: should be "session lookup uie " while executing "session lookup uie $sessionID"i think it is error because $sessionID is null.
anyway, is the irule in Configuring a universal persistence profile section not usable?
sol7392: Overview of universal persistence
http://support.f5.com/kb/en-us/solutions/public/7000/300/sol7392.html
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
