Cisco CSS 11501 Getting Started Guide - Page 82

Sticky Based on a Cookie in the HTTP Header or URL, Where to Go Next

Page 82 highlights

Where to Go Next Chapter 4 Configuring Sticky Cookies string prefix "MyCookie=" add service test1 add service test2 add service test3 add service test4 port 80 protocol tcp active Sticky Based on a Cookie in the HTTP Header or URL If the cookie could be in either the cookie field of the HTTP header or the URL, use the advanced-balance cookieurl command. In this configuration, the CSS searches for the cookie first in the cookie field of the HTTP header. If the cookie field does not exist, then the CSS looks for the cookie in the URL. This command is intended for applications where some clients cannot accept cookies but others can. Using the full configuration of the "Sticky Based on a Configured String in an HTTP Cookie Header" section, the only difference is the advanced-balance cookieurl command in the content rule. OWNER owner test content stickyCookie advanced-balance cookieurl string prefix "MyCookie=" add service test1 add service test2 add service test3 add service test4 port 80 protocol tcp active Where to Go Next Chapter 5, Where to Go Next, provides information on the location of administrative and configuration tasks, and a contents summary of the CSS administration, configuration, and user guides. Cisco Content Services Switch Getting Started Guide 4-6 OL-6037-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

Chapter 4
Configuring Sticky Cookies
Where to Go Next
4-6
Cisco Content Services Switch Getting Started Guide
OL-6037-01
string prefix "MyCookie="
add service test1
add service test2
add service test3
add service test4
port 80
protocol tcp
active
Sticky Based on a Cookie in the HTTP Header or URL
If the cookie could be in either the cookie field of the HTTP header or the URL,
use the
advanced-balance cookieurl
command.
In this configuration, the CSS searches for the cookie first in the cookie field of
the HTTP header. If the cookie field does not exist, then the CSS looks for the
cookie in the URL. This command is intended for applications where some clients
cannot accept cookies but others can.
Using the full configuration of the
“Sticky Based on a Configured String in an
HTTP Cookie Header”
section, the only difference is the
advanced-balance
cookieurl
command in the content rule.
!*************************** OWNER ***************************
owner test
content stickyCookie
advanced-balance cookieurl
string prefix "MyCookie="
add service test1
add service test2
add service test3
add service test4
port 80
protocol tcp
active
Where to Go Next
Chapter 5, Where to Go Next
, provides information on the location of
administrative and configuration tasks, and a contents summary of the CSS
administration, configuration, and user guides.