Colubris Networks CN3000 Administrator's Manual page 132

Table of Contents

Advertisement

Chapter 6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Customizing the public access interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 6
For example if the customer account is configured for 5000 seconds, then:
• TruncateSessionTime("y") returns 0.
• TruncateSessionTime("d") returns 0.
• TruncateSessionTime("h") returns 1.
• TruncateSessionTime("m") returns 23.
• TruncateSessionTime("s") returns 20.
GetSessionRemainingIdleTime()
Returns the amount of time remaining until the customer will be logged out due to
inactivity.
GetSessionTime()
Returns session duration for the current customer in minutes and seconds in the format:
mm:ss.
GetSessionTimeHMS()
Returns session duration for the current customer in hours, minutes and seconds in the
format: hh:mm:ss.
ConvertSessionTime(unit)
Returns session duration for the current customer in the specified unit. See
ConvertMaxSession time for details.
TruncateSessionTime(unit)
Returns session duration for the current customer truncated to the specified unit. See
TruncateMaxSession time for details.
SetSessionRefreshInterval(sec)
Specifies the refresh interval for the Session page in seconds.
GetSessionRemainingTime()
Returns the amount of connection time remaining for the current customer session in
minutes and seconds in the format: mm:ss.
GetSessionRemainingTimeHMS()
Returns the amount of connection time remaining for the current customer session in
hours, minutes and seconds in the format: hh:mm:ss.
ConvertSessionRemainingTime(unit)
Returns the total amount of connection time remaining for the current customer in the
specified unit. See ConvertMaxSession time for details.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 132 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
h
Hours
m
Minutes
s
Seconds

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents