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

Example 4: Using rewrite cookie mode

This example shows how to configure the rewrite cookie mode with an 8-byte or 16-byte cookie length.

To direct the WSM to rewrite the server cookie, 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. This setting is not effective in rewrite mode.
Cookie Length = 8 or 16
Tells the WSM to extract 8 bytes to rewrite the encrypted real server IP address, or 16 bytes to rewrite both the encrypted real server and virtual server IP addresses.


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 = Rewrite
Tells the WSM to generate the cookie value on behalf of the server. The WSM intercepts this persistence cookie and rewrites it with the real server's encrypted IP address before sending it to the client.
NOTE: In Rewrite mode, the cookie length can only be 8 or 16 and the cookie offset parameter is not effective.


See also:


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