You are here

function session_cache_get in Session Cache API 7

Same name in this branch
  1. 7 session_cache.api.php \session_cache_get()
  2. 7 session_cache.module \session_cache_get()
Same name and namespace in other branches
  1. 8 session_cache.module \session_cache_get()
  2. 6 session_cache.module \session_cache_get()

Read data from the user session, given its bin id.

Parameters

string $bin: unique id eg a string prefixed by the module name

Return value

mixed the cache data

File

./session_cache.api.php, line 41
API documentation for Session Cache API module.

Code

function session_cache_get($bin) {

  // See the following modules for examples:
  // o IP Geolocation Views & Maps.
  // o Views Global Filter.
}