You are here

constant SESSION_CACHE_STORAGE_COOKIE in Session Cache API 6

Same name and namespace in other branches
  1. 8 session_cache.module \SESSION_CACHE_STORAGE_COOKIE
  2. 7 session_cache.module \SESSION_CACHE_STORAGE_COOKIE

@file session_cache.module

A pluggable user session access facility for programmers who want a simple two-function API that is independent of the actual storage mechanism. Used in particular to avoid $_SESSION as the storage mechanism, so that anonymous user sessions can be used in the context of Varnish.

The database storage mechanism uses core's cache.inc.

See README.txt for details.

2 uses of SESSION_CACHE_STORAGE_COOKIE
session_cache_get in ./session_cache.module
Read data from the user session, given its bin id.
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 15
session_cache.module

Code

define('SESSION_CACHE_STORAGE_COOKIE', 3);