<?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 Re: difference between cookie in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245167#M25844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of Jsession ID there is a part of cookie that remains unique for each server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CSS you will use something like the following (It tells CSS to just look for 32 chars after JSESSIONID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; content xyz&lt;/P&gt;&lt;P&gt;    vip address X.X.X.X&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    port 80&lt;/P&gt;&lt;P&gt;    url "/app1/*"&lt;/P&gt;&lt;P&gt;    add service app-svr-1&lt;/P&gt;&lt;P&gt;    add service app-svr-2&lt;/P&gt;&lt;P&gt;    string process-length 32&lt;/P&gt;&lt;P&gt;    string prefix "JSESSIONID="&lt;/P&gt;&lt;P&gt;    advanced-balance cookies&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other options on CSS includes&lt;/P&gt;&lt;P&gt;"string-range command" to specify the starting and ending byte positions , "string skip-length number"&lt;/P&gt;&lt;P&gt;How many bytes to skip after the end of the prefix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consult CSS config guide for more examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON ACE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"cookie offset 53 length 10" Under stick configurtaion will tell ACE to look after 53 bytes &amp;amp; look for next 10 bytes for stickiness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie JSESSIONID syed-sticky&lt;/P&gt;&lt;P&gt;  cookie offset 53 length 10&lt;/P&gt;&lt;P&gt;  serverfarm APP1-Serverfarm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2009 23:41:55 GMT</pubDate>
    <dc:creator>Syed Iftekhar Ahmed</dc:creator>
    <dc:date>2009-04-02T23:41:55Z</dc:date>
    <item>
      <title>difference between cookie</title>
      <link>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245164#M25841</link>
      <description>&lt;P&gt;I am kind of confused whats the difference between advance-balance arrowpoint-cookie and advance-balance cookies because when I do show rule XXXX I see &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advanced Balance: ArrowPoint Cookie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i configure the content rule with advance-balance arrowpoint-cookie and advance-balance cookies &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2009 21:49:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245164#M25841</guid>
      <dc:creator>kirit_patel</dc:creator>
      <dc:date>2009-04-02T21:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: difference between cookie</title>
      <link>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245165#M25842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;advance-balance cookie â&amp;#128;&amp;#156;sticksâ&amp;#128;&amp;#157;  the client to a server based on the cookie set by the Real Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;advance-balance arrowpoint-cookie â&amp;#128;&amp;#156;sticksâ&amp;#128;&amp;#157;  the client to a server based on the cookie inserted by CSS (on behalf of Real Server). You will use this command only if you want CSS to insert cookies in the server response and stick sessions based on this CSS inserted cookie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 22:16:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245165#M25842</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-02T22:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: difference between cookie</title>
      <link>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245166#M25843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;syed thanks so how do u implement JESSIONID to be used on a CSS and ACE. What if you don't know the cookie supplied by the server in terms of the length . Lets say if the cookie supplied by the real server is 30 character or maybe 9 gow do u configure the ace and css to recognize this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 22:24:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245166#M25843</guid>
      <dc:creator>kirit_patel</dc:creator>
      <dc:date>2009-04-02T22:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: difference between cookie</title>
      <link>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245167#M25844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of Jsession ID there is a part of cookie that remains unique for each server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In CSS you will use something like the following (It tells CSS to just look for 32 chars after JSESSIONID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; content xyz&lt;/P&gt;&lt;P&gt;    vip address X.X.X.X&lt;/P&gt;&lt;P&gt;    protocol tcp&lt;/P&gt;&lt;P&gt;    port 80&lt;/P&gt;&lt;P&gt;    url "/app1/*"&lt;/P&gt;&lt;P&gt;    add service app-svr-1&lt;/P&gt;&lt;P&gt;    add service app-svr-2&lt;/P&gt;&lt;P&gt;    string process-length 32&lt;/P&gt;&lt;P&gt;    string prefix "JSESSIONID="&lt;/P&gt;&lt;P&gt;    advanced-balance cookies&lt;/P&gt;&lt;P&gt;    active&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other options on CSS includes&lt;/P&gt;&lt;P&gt;"string-range command" to specify the starting and ending byte positions , "string skip-length number"&lt;/P&gt;&lt;P&gt;How many bytes to skip after the end of the prefix&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consult CSS config guide for more examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ON ACE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"cookie offset 53 length 10" Under stick configurtaion will tell ACE to look after 53 bytes &amp;amp; look for next 10 bytes for stickiness.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sticky http-cookie JSESSIONID syed-sticky&lt;/P&gt;&lt;P&gt;  cookie offset 53 length 10&lt;/P&gt;&lt;P&gt;  serverfarm APP1-Serverfarm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2009 23:41:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/difference-between-cookie/m-p/1245167#M25844</guid>
      <dc:creator>Syed Iftekhar Ahmed</dc:creator>
      <dc:date>2009-04-02T23:41:55Z</dc:date>
    </item>
  </channel>
</rss>

