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

Example 1: Setting the cookie location

This example illustrates how to configure the WSM to search for a cookie in an HTTP header or a URI.

The following client request has two different cookies labeled UID--one in the HTTP header and the other in the URI.

GET /product/switch/UID=12345678;ck=1234...
Host: www.alteonwebsystems.com
Cookie: UID=87654321

To configure the WSM to search for the UID or HTTP cookie, use the following virtual server and service settings.


Virtual Server setting Description
Cookie Search = Enabled or Disabled
  • Enabled-- looks for cookie name/value pair in the URI.
  • Disabled--looks for the cookie in the HTTP header.
Cookie Name = UID
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.

See also:


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