You are here

function sess_destroy_sid in Memcache API and Integration 5

Same name and namespace in other branches
  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()
  4. 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

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

Code

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