NonStop Servlets for JSP System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-001
3-44
Cleaning Up the NonStop SQL Session Data
Example 3-32 defines the usage of the nsjsp_cleanSessionData script.
Example 3-33 shows how to use the nsjsp_cleanSessionData script:
Example 3-32. SQL Session Data Cleanup Script
Usage: nsjsp_cleanSessionData nDays
where nDays: Number of days for which session data is to be
preserved/saved. Sessions that have expired more
than 'nDays' ago will be deleted. A value of zero (0)
will delete all the expired sessions.
Example 3-33. Using the nsjsp_cleanSessionData Script
osh> /usr/tandem/webserver/bin/nsjsp_cleanSessionData 5
Sessions that have expired at least 5 days ago will be deleted from the
NonStop™ SQL Database.