You are here

function session_cache_expiration_time in Session Cache API 7

Same name and namespace in other branches
  1. 8 session_cache.module \session_cache_expiration_time()
  2. 6 session_cache.module \session_cache_expiration_time()

Returns the date/time that the session cache will expire.

Return value

int UNIX time stamp

2 calls to session_cache_expiration_time()
session_cache_get_sid in ./session_cache.module
Returns an identifier for the current user session.
session_cache_set in ./session_cache.module
Write data to the user session, whatever the storage mechanism may be.

File

./session_cache.module, line 183
session_cache.module

Code

function session_cache_expiration_time() {
  return REQUEST_TIME + 24 * 60 * 60 * variable_get('session_cache_expire_period', SESSION_CACHE_DEFAULT_EXPIRATION_DAYS);
}