You are here

function sess_destroy_sid in Memcache API and Integration 5.2

Same name in this branch
  1. 5.2 session-memcache.inc \sess_destroy_sid()
  2. 5.2 session-memcache-db.inc \sess_destroy_sid()
  3. 5.2 session-memcache.db.inc \sess_destroy_sid()
Same name and namespace in other branches
  1. 5 memcache-session.inc \sess_destroy_sid()
  2. 6 memcache-session.inc \sess_destroy_sid()

Called by PHP session handling with the PHP session ID to end a user's session.

Parameters

string $sid: the session id

File

./session-memcache.inc, line 140
User session handling functions.

Code

function sess_destroy_sid($sid) {
  dmemcache_delete($sid, 'session');
}