Configuring the WSM using Device Manager # Go back one pageGo to the next page#Go to this book's Index

Example 3: Using passive cookie mode

This example shows how to configure passive cookie mode.

If you are using passive cookie mode, the WSM examines the server's Set-Cookie: value and directs all subsequent connections to the server that assigned the cookie. For example, if Server 1 sets the cookie as Set-Cookie: sid=12345678, then all traffic from a particular client with cookie sid=12345678 will be directed to Server 1.

To direct the WSM to examine the server's Set-Cookie: value for selecting the real server, use the following virtual server and service settings.


Virtual Server setting Description
Cookie Search = Disabled
Tells the WSM to look for the cookie in the HTTP header.
Cookie Name = sid
Embeds this cookie name in the server response. The WSM searches for this cookie name in subsequent requests from the same client.
Cookie Offset = 1
Tells the WSM to start searching at the first byte of the cookie.
Cookie Length = 8
Tells the WSM to extract 8 bytes.


Virtual Server Service 80 setting Description
Persistent Binding = Cookie
Tells the WSM to look for the cookie embedded in the server response in subsequent requests from the same client.
Cookie Persistence Mode = Passive
Enables passive cookie-based persistence for the service.

See also:


Go back one pageGo to the next page##Go to this book's Index