<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CSS cookieurl: case sensitive? in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191279#M24630</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand, the HTTP header cookie field, and the embedded cookie (in a URL) are case-sensitive. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The settings look like this:&lt;/P&gt;&lt;P&gt;content stickyCookie&lt;/P&gt;&lt;P&gt; advanced-balance cookieurl&lt;/P&gt;&lt;P&gt;  string prefix "SESSION_ID="&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the HTTP header the cookie field looks like this:&lt;/P&gt;&lt;P&gt;Set Cookie: SESSION_ID=ABCDEF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if instead of this, the request comes from a client with the cookie embedded in the url, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://localhost/Info/index;session_id=ABCDEF?page=home" target="_blank"&gt;http://localhost/Info/index;session_id=ABCDEF?page=home&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this field case-sensitive for the CSS? I know it is for the ACE, as I have done this and there is the "cookie secondary" command where you can specify how the url-embedded cookie looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am afraid there is no way of making this work on a CSS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2009 18:28:34 GMT</pubDate>
    <dc:creator>jgurfinkiel</dc:creator>
    <dc:date>2009-06-01T18:28:34Z</dc:date>
    <item>
      <title>CSS cookieurl: case sensitive?</title>
      <link>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191279#M24630</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I understand, the HTTP header cookie field, and the embedded cookie (in a URL) are case-sensitive. Is this correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The settings look like this:&lt;/P&gt;&lt;P&gt;content stickyCookie&lt;/P&gt;&lt;P&gt; advanced-balance cookieurl&lt;/P&gt;&lt;P&gt;  string prefix "SESSION_ID="&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the HTTP header the cookie field looks like this:&lt;/P&gt;&lt;P&gt;Set Cookie: SESSION_ID=ABCDEF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if instead of this, the request comes from a client with the cookie embedded in the url, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://localhost/Info/index;session_id=ABCDEF?page=home" target="_blank"&gt;http://localhost/Info/index;session_id=ABCDEF?page=home&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this field case-sensitive for the CSS? I know it is for the ACE, as I have done this and there is the "cookie secondary" command where you can specify how the url-embedded cookie looks like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am afraid there is no way of making this work on a CSS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2009 18:28:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191279#M24630</guid>
      <dc:creator>jgurfinkiel</dc:creator>
      <dc:date>2009-06-01T18:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: CSS cookieurl: case sensitive?</title>
      <link>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191280#M24631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Javier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Cisco CSS is case-sensitive when searching for this string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When configuring the CSS 11000 and 11500, determine first if you need a server cookie string. If the string operation under the content rule is match-service-cookie, which is the default setting, this parameter must be configured. In this case the service cookie string is matched against the cookie contained in the HTTP header for load balancing decision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the string operation under the content rule is set to the hash method, this parameter is not needed. In order to select one of the available servers, the cookie contained in the HTTP header is mathematically processed using a hashing algorithm. If available, the hash algorithm assigna the connection carrying a certain cookie to the same server. This example focuses on the match-service-cookie case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Cookies are case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring the Service&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config&amp;gt;# service server_g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-service[server_g])# string LV2KJK (the server cookie text)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config&amp;gt;# service server_h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-service[server_h])# string AARIKA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuring the Content Rule&lt;/P&gt;&lt;P&gt;Note: Cookies require a Layer 5 rule. &lt;/P&gt;&lt;P&gt;You can create a Layer 5 rule by adding a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, &lt;URL&gt;. &lt;/URL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Layer 4 rule can be promoted to a Layer 5 rule by issuing the advanced-balance cookies command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Choose the advanced-balance method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# advanced-balance cookies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configure the string operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string operation ?&lt;/P&gt;&lt;P&gt;match-service-cookie (DEFAULT)&lt;/P&gt;&lt;P&gt;hash-crc32&lt;/P&gt;&lt;P&gt;hash-xor&lt;/P&gt;&lt;P&gt;hash-a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the starting/ending bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string range 1 to 200&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Start byte position of cookie/url after header (Range:1-600)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the prefix located in the string range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string prefix "ASPSESSION"&lt;/P&gt;&lt;P&gt;&lt;QUOTED text=""&gt;"Quoted textual information"(Len: 0-32)&lt;/QUOTED&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicate how many bytes to skip after the starting prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string skip-length 9&lt;/P&gt;&lt;P&gt;&lt;QUOTED text=""&gt;"Quoted textual information"(Len: 0-32)&lt;/QUOTED&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indicate how many bytes after the prefix/skip-length make-up the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string process-length 6&lt;/P&gt;&lt;P&gt;&lt;INTEGER&gt;Integer value(Range: 0-64)&lt;/INTEGER&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no string process length is configured, search after end of string character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# string eos-char "&amp;amp;"&lt;/P&gt;&lt;P&gt;&lt;QUOTED text=""&gt;"Quoted textual information"(Len: 0-5)&lt;/QUOTED&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specify the failover in the event that a server goes down or is suspended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;training4(config-owner-content[cookie-layer5])# sticky-serverdown-failoversticky-srcip&lt;/P&gt;&lt;P&gt;sticky-srcip-dstport&lt;/P&gt;&lt;P&gt;sticky-srcip&lt;/P&gt;&lt;P&gt;balance (Default)&lt;/P&gt;&lt;P&gt;redirect&lt;/P&gt;&lt;P&gt;reject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example of a cookie string, and how some of the parameters work.&lt;/P&gt;&lt;P&gt;ASPSESSIONJJKKJJKK=LV2KJK44444444&lt;/P&gt;&lt;P&gt; !--- The string prefix = ASPSESSION. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; !--- The string skip-length = 9. Skip  &lt;/P&gt;&lt;P&gt; !--- nine characters after the prefix.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; !--- The string process-length = 6, which would make  &lt;/P&gt;&lt;P&gt; !--- the string LV2KJK matching service server_g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASPSESSIONSQPMMJHK=AARIKAMDESLD&lt;/P&gt;&lt;P&gt; !--- Matches service server_h. &lt;/P&gt;&lt;P&gt;Below is a sample configuration for the cookie strings.&lt;/P&gt;&lt;P&gt;!************************** SERVICE **************************&lt;/P&gt;&lt;P&gt; service server_g&lt;/P&gt;&lt;P&gt;   ip address 172.17.63.240&lt;/P&gt;&lt;P&gt;   string LV2KJK&lt;/P&gt;&lt;P&gt;   active&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; service server_h&lt;/P&gt;&lt;P&gt;   ip address 172.17.63.241&lt;/P&gt;&lt;P&gt;   string AARIKA&lt;/P&gt;&lt;P&gt;   active&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; !*************************** OWNER ***************************&lt;/P&gt;&lt;P&gt; owner braden&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   content server-cookie&lt;/P&gt;&lt;P&gt;     protocol tcp&lt;/P&gt;&lt;P&gt;     vip address 172.17.63.199&lt;/P&gt;&lt;P&gt;     port 80&lt;/P&gt;&lt;P&gt;     advanced-balance cookies&lt;/P&gt;&lt;P&gt;     string range 1 to 200&lt;/P&gt;&lt;P&gt;     string prefix "ASPSESSION"&lt;/P&gt;&lt;P&gt;     string skip-length 9&lt;/P&gt;&lt;P&gt;     string process-length 6&lt;/P&gt;&lt;P&gt;     add service server_g&lt;/P&gt;&lt;P&gt;     add service server_h&lt;/P&gt;&lt;P&gt;     active&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Kindly tell if this information is of any use to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 19:34:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191280#M24631</guid>
      <dc:creator>sachinga.hcl</dc:creator>
      <dc:date>2009-06-01T19:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: CSS cookieurl: case sensitive?</title>
      <link>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191281#M24632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your "Note: Cookies are case sensitive." is probably the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest is what I already saw in the CSS documentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this environment is already configured with dynamic cookies (valid for individual sessions only), as this is what the requirements are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the ACE module:&lt;/P&gt;&lt;P&gt;"Depending on client and server behavior and the sequence of frames, the same cookie value may appear in the standard HTTP cookie that is present in the HTTP header, Set-Cookie message, or cookie embedded in a URL. The actual name of the cookie may differ depending on whether the cookie is embedded in a URL or appears in an HTTP header. The use of a different name for the cookie and the URL occurs because these two parameters are configurable on the server and are often set differently. For example, the Set-Cookie name may be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set-Cookie: session_cookie = 123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The URL may be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.example.com/?session-id=123" target="_blank"&gt;http://www.example.com/?session-id=123&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, I am using a CSS and it appears that this option of configuring the "secondary cookie" does not exist. And since the cookie is also case-sensitive, the CSS will not recognize the url-embedded cookie as the same one. THIS is what I am trying to confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2009 20:53:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191281#M24632</guid>
      <dc:creator>jgurfinkiel</dc:creator>
      <dc:date>2009-06-01T20:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSS cookieurl: case sensitive?</title>
      <link>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191282#M24633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your config with SESSIOM_ID sent by the client gives the following debug :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:33:31 3/1 49 WCC-7: CsdStickinessCheck: stickytype=3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:33:31 3/1 50 WCC-7: CheckL5: cookie failback to URL, stickytype=3, pURL=8ee0e8f8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:33:31 3/1 51 WCC-7: cookieStr="SESSION_ID=1234 HTTP/1.1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:33:31 3/1 52 WCC-7: strLen=24, rangeLen=24, conv=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:33:31 3/1 53 WCC-7: Prefix found: prefix="SESSION_ID="&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same config, but now the client sends session_id gives the following debug :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:35:24 3/1 63 WCC-7: CheckL5: cookie failback to URL, stickytype=3, pURL=8ee058f8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:35:24 3/1 64 WCC-7: cookieStr="session_id=1234 HTTP/1.1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:35:24 3/1 65 WCC-7: strLen=24, rangeLen=24, conv=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JUN  2 01:35:24 3/1 66 WCC-7: server cookie not found. strAction=4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it confirms that the CSS is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 07:45:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/css-cookieurl-case-sensitive/m-p/1191282#M24633</guid>
      <dc:creator>Gilles Dufour</dc:creator>
      <dc:date>2009-06-02T07:45:47Z</dc:date>
    </item>
  </channel>
</rss>

