Sticky Based On A Cookie In A Url - Cisco CSS 11501 - Content Services Switch Getting Started Manual

11500 series content services switch
Table of Contents

Advertisement

Chapter 4
Configuring Sticky Cookies

Sticky Based on a Cookie in a URL

OL-6037-01
service test4
ip address 10.1.1.4
string server4
active
!The string prefix must match the cookie name.
include the '=' as part of the string prefix.
!*************************** OWNER ***************************
owner test
content stickyCookie
advanced-balance cookies
string prefix "MyCookie="
add service test1
add service test2
add service test3
add service test4
port 80
protocol tcp
active
If the cookie is present in the URL instead of the cookie field of the HTTP header,
use the advanced-balance url command. Some client applications do not accept
cookies. When a site depends upon the information in the cookie, administrators
sometimes modify the server application so that it appends the cookie data to the
parameters section of the URL. The parameters typically follow a "?" at the end
of the main data section of the URL.
In this configuration, the CSS functions in a similar manner as when using the
advanced-balance cookies command; however, the CSS looks in the URL after
the '?' for the cookie.
Using the full configuration of the
HTTP Cookie Header"
command in the content rule.
!*************************** OWNER ***************************
owner test
content stickyCookie
advanced-balance url
Advanced Load-Balancing Method Using Cookies
"Sticky Based on a Configured String in an
section, the only difference is the advanced-balance url
Cisco Content Services Switch Getting Started Guide
We recommend that you
4-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Css 11506Css 1150111503 - css content services switch

Table of Contents