Forum Discussion
Misty_Spillers
Nimbostratus
Jan 06, 2010Question about managing different types of persistence on one virtual server.
So sorry if the answer is been posted before, every time I search I don't get the results I'm looking for.
I have a situation where we would like to have one virtual server and differe...
hoolio
Cirrostratus
Jan 08, 2010The wiki page for the persist command states that 'persist none' disables persistence for the rest of the TCP connection. So if you use the rule as it is, if a client makes a request for /app2, I think any subsequent request on the same connection would not get a persistence cookie. You could test this by adding logging to the iRule and using netcat (assuming it's an HTTP VIP) to open a TCP connection and then send a request for /app2 and then one for /app1. See if you get a persistence cookie in the response to /app1.
Here is an example from the LTM command line using netcat (nc):
$ nc 1.1.1.1 80
GET /app2 HTTP/1.0
Connection: keep-alive
GET /app1 HTTP/1.0
If it's working, in the response to the /app1 request you'll see a Set-Cookie header with the LTM persistence cookie.
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