- HTTP Cookie Insert method
- HTTP Cookie Rewrite method
- HTTP Cookie Passive method
HTTP Cookie Insert method
If you specify HTTP Cookie Insert method within the profile, the information about the server to which the client connects is inserted in the header of the HTTP response by BIG-IP. The cookie is named BIGipServer, and it includes the address and port of the server handling the connection. The expiration date for the cookie is set based on the timeout configured on the BIG-IP system. HTTP Cookie Insert is the default value for the Cookie Method setting.
HTTP Cookie Rewrite method
If you specify HTTP Cookie Rewrite method, Local Traffic Manager intercepts a Set-Cookie header, named BIGipCookie, sent from the server to the client, and overwrites the name and value of the cookie. The new cookie is named BIGipServer and it includes the address and port of the server handling the connection.
The HTTP Cookie Rewrite method requires you to set up the cookie created by the server. For the HTTP Cookie Rewrite method to succeed, there needs to be a blank cookie coming from the web server for Local Traffic Manager to rewrite. With Apache variants, the cookie can be added to every web page header by adding the following entry to the httpd.conf file:
Header add Set-Cookie BIGipCookie=0000000000000000000000000…
(The cookie must contain a total of 120 zeros.)
HTTP Cookie Passive method
If you specify the HTTP Cookie Passive method, Local Traffic Manager does not insert or search for blank Set-Cookie headers in the response from the server. This method does not try to set up the cookie. With this method, the server provides the cookie, formatted with the correct server information and timeout. It is recommend that you use the HTTP Cookie Rewrite method instead of the HTTP Cookie Passive method whenever possible.
Cookie profile settings
To implement cookie persistence, you can either use the default cookie profile, or create a custom profile. Table shows the settings and values that make up a Cookie profile.
Specifies the type of cookie processing that the BIG-IP system is to use. For more information, see HTTP Cookie Insert method, following.
|
||