PEAR Manual
Prev |  | Next

# Auth::sessionValidThru()

Auth::sessionValidThru() -- get the time up to the session is valid

## Synopsis

``void Auth::sessionValidThru` ()`

## Description

This method returns the time in seconds after which the idle time of the current authentication session has reached its limit, which will cause the user to be logged out automatically. If no maximum idle time is set, which is the default configuration of PEAR::Auth, this method will return 0.

## Note

This function can not be called statically.

Prev | Home | Next
Auth::getUsername() | Up | Auth::setSessionname()