NonStop SOAP User's Manual
NonStop SOAP Features and Functions
NonStop SOAP User’s Manual—520501-012
4-13
Server-Side Cookie File
For example, if a session has a SOAP_SESSION_TIMEOUT value of 36
minutes and the last use of the session was 19 minutes ago:
•
A <
deletion-threshold
> value of 10 would cause the session record
to be deleted because 19 is greater than 10.
•
A <
deletion-threshold
> value of 50 would not cause the session
record to be deleted because 19 is less than 36.
However, if a session has a SOAP_SESSION_TIMEOUT value of 36 minutes
and the last use of the session was 37 minutes ago, then a deletion-threshold
of 50 would cause the session record to be deleted because 37 is greater than
36 (the lesser of SOAP_SESSION_TIMEOUT and
<deletion-threshold>
.
If the session record is deleted, the session ends. Therefore, you can use this
option to force the end of a session.
Examples:
Example 4-12 shows the use of the -v option to display the contents of the cookie file.
(The output is too wide for the available space, so each output line wraps.)
In Example 4-13 on page 4-14, the command causes the SOAP server to display
output (not shown here) resulting from requests in file1 and file2. The session
requested in file1 is assigned the session ID 320ab, as specified on the command
line. The request in file2 refers to a different session ID, but the server uses the
value 320ab instead.
Example 4-12. Displaying Cookie File Contents
Osh> SoapServerCL -v
SESSION_ID LAST_ACCESS_TIME TIMEOUT CREATION_TIME
------------------------ ---------------- ------- ----------------
FLAG TRANSACTION_ID TXN_TAG SUBSESSION_ID OWNER(CPU,PIN)
------- -------------------- ------------ ------------- --------------
f0TW3O8tkFZN3P8I9o2JMgo 2001-09-20 15:42 3600 2001-09-20 15:42
1 \HOCKEY(1).0.1590317 -754957267 -1 -1,-1
ngg 2001-09-20 15:41 3600 2001-09-20 15:41
1 \HOCKEY(1).0.1590316 -754957268 -1 -1,-1
*** Total Records in $DATA1.NLOYAL.COOKIE: 2
*** Display Start Time: 2001-09-20 15:42