Forum Discussion
Vim_113268
Nimbostratus
Nov 03, 2010How to Configure Cookie Sticky configurations
I am new to F5.  We have a requirement to configure Cookie sticky session.  I believe i need to create "persistence" profile and configure Coockie methods but i am not sure what needs to be done...   ...
hoolio
Cirrostratus
Nov 16, 2012Is your web tier stateless so that any web server can handle the user's session?  If so, I don't think you need persistence on the client to web tier virtual server.  If it is stateful, then I don't think you'd be able to seemlessly transfer the user to a new web server. 
Here's a sample 10.2.x VS and cookie insert persistence profile config:
virtual http_10.1.0.15_vs {
   snat automap
   pool my_http_pool
   destination 10.1.0.15:http
   ip protocol tcp
   persist custom_cookie_insert
   profiles {
      http {}
      tcp {}
   }
}
profile persist custom_cookie_insert {
   defaults from cookie
   mode cookie
   cookie name "custom_cookie_insert"
}
 
Aaron
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