Cookie Modes of Operation
Web OS supports the following modes of operation for cookie-based session persistence:
insert, passive, and rewrite mode. The following table shows the differences among the modes:
Table 16-1 Comparison Among the Three Cookie Modes
Cookie Mode
Insert Cookie
Passive Cookie
Rewrite Cookie
Each of the modes are explained in detail in the following sections.
Insert Cookie Mode
In the insert cookie mode, the Web switch generates the cookie value on behalf of the server.
Because no cookies are configured at the server, the need to install cookie server software on
each real server is eliminated.
In this mode, the client sends a request to visit the Web site. The Web switch performs load
balancing and selects a real server. The real server responds without a cookie. The Web switch
inserts a cookie and forwards the new request with the cookie to the client.
Client
Figure 16-2 Insert Cookie Mode
212777-A, February 2002
Configuration Required
Switch only
Server and Switch
Server and Switch
2. Client visits the Web site via HTTP request
Proxy Firewall
5. Web switch inserts a cookie and forwards the
request to the client.
Cookie Location
HTTP Header
HTTP Header or URL
HTTP Header
1. Configure switch to insert cookie values
3. Switch selects
Internet
Web Switch
Web OS 10.0 Application Guide
Uses Switch
Session Entry
No
Yes
No
server via SLB
Web Server
Farm
4. Server responds
without any cookie
Chapter 16: Persistence
n
427