Setting expiration timer for insert cookie – Nortel Networks WEB OS 212777 User Manual
Page 432
![background image](/manuals/191898/432/background.png)
Web OS 10.0 Application Guide
432
n
Chapter 16: Persistence
212777-A, February 2002
n
Set multiple response count
This parameter is set for passive mode only. Typically, the Web switch searches the first
HTTP response packet from the server and, if a persistence cookie is found, sets up a per-
sistent connection between the server and the client. While this approach works for most
servers, some customers with complex server configurations might send the persistence
cookie a few responses later. In order to achieve cookie-based persistence in such cases,
Web OS allows the network administrator to configure the switch to look through multiple
HTTP responses from the server. The switch looks for the persistence cookie in the speci-
fied number of responses (each of them can be multi-frame) from the server.
Setting Expiration Timer for Insert Cookie
If you configure for insert cookie persistence mode, then you will be prompted for cookie expi-
ration timer. The expiration timer specifies a date string that defines the valid life time of that
cookie. The expiration timer for insert cookie can be of the following types:
n
Absolute timer
The syntax for the absolute timer is
MM/dd/yy[@hh:mm
]. The date and time is based on
RFC 822, RFC 850, RFC 1036, and RFC 1123, with the variations that the only legal time
zone is GMT. Once the expiration date is met, the cookie is not stored or given out. For
example,
n
Relative timer
This timer defines the elapsed time from when the cookie was created. The syntax for the rela-
tive timer is
days[:hours[:minutes]]
. For example,
N
OTE
–
If the cookie expiration timer is not specified, the cookie will expire when the user’s
session ends.
Enter cookie expiration: 12/31/01@11:59
Current persistent binding for http: disabled
New persistent binding for http: cookie
New cookie persistence mode: insert
Inserted cookie expires on Mon 12/31/01 at 11:59
Enter cookie expiration: 32:25:61
Current persistent binding for http: disabled
New persistent binding for http: cookie
New cookie persistence mode: insert
Inserted cookie expires after 33 days 2 hours 1 minutes