EasyManuals Logo
Home>HP>Controller>MSM7XX

HP MSM7XX User Manual

HP MSM7XX
658 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #545 background imageLoading...
Page #545 background image
Working with RADIUS attributes
Public access interface ASP functions and variables
15-83
GetMaxSessionTimeHMS()
Returns the total amount of connection time configured for the current user session in hours,
minutes and seconds in the format: hh:mm:ss.
ConvertMaxSessionTime(unit)
Returns the total amount of connection time configured for the current user in the specified
unit.
For example if the user account is configured for 5000 seconds, then:
ConvertMaxSessionTime(“y”) returns 0, calculated as (5000 / (365*24 *60*60)).
ConvertMaxSessionTime(“d”) returns 0, calculated as (5000 / (24*60*60)).
ConvertMaxSessionTime(“h”) returns 1, calculated as (5000 / (60*60)).
ConvertMaxSessionTime(“m”) returns 83, calculated as (5000 / 60).
ConvertMaxSessionTime(“s”) returns 5000, calculated as (5000 / 1).
TruncateMaxSessionTime(unit)
Returns the total amount of connection time configured for the current user truncated to the
specified unit.
For example if the user 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.
yYears
dDays
h Hours
m Minutes
s Seconds
yYears
dDays
h Hours
m Minutes
s Seconds

Table of Contents

Other manuals for HP MSM7XX

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP MSM7XX and is the answer not in the manual?

HP MSM7XX Specifications

General IconGeneral
BrandHP
ModelMSM7XX
CategoryController
LanguageEnglish

Related product manuals