Forum Discussion
session cookie persistence question
Hi Jayson,
Are you using a cookie insert persistence profile with the expire time set to 0 (session)? If so, the client should send the cookie on each request as long as the browser is kept open. One common issue with layer 7 based persistence is that you need to apply a OneConnect profile to the virtual server. This ensures that LTM will make a load balancing/persistence decision on each HTTP request. If you're using serverside source address translation (SNAT), you can use the default OneConnect profile with a /0 source mask. If you're not using SNAT, then create a custom OneConnect profile with the source mask set to /32. See this wiki page for details:
https://devcentral.f5.com/wiki/default.aspx/AdvDesignConfig/oneconnect.html
If you're already using OneConnect or adding a OneConnect profile to the virtual server doesn't fix the issue, can you try reproducing the issue with a browser plugin like Fiddler2 or HttpWatch to see what the client is sending? You can also use an iRule to log debug messages on the persistence and load balancing decisions:
https://devcentral.f5.com/wiki/default.aspx/iRules/Persistence_Cookie_Logger.html
Aaron
Recent Discussions
Related Content
* 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