You are here

function session_cache_expiration_time in Session Cache API 6

Same name and namespace in other branches
  1. 8 session_cache.module \session_cache_expiration_time()
  2. 7 session_cache.module \session_cache_expiration_time()
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 the supplied data to the user session, whatever the storage mechanism may be.

File

./session_cache.module, line 148
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);
}