Class MemcachedSessionHandler
	
	MemcachedSessionHandler.
Memcached based session storage handler based on the Memcached class
provided by the PHP memcached extension.
	 
	
		- 
Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHandler			
			 implements 
				SessionHandlerInterface
			
			
		
	Methods summary
	
		| 
			 public 
			
			
			 | 
		#
		__construct( Memcached$memcached, array $options = array() )
			Constructor. List of available options: * prefix: The prefix to use for the memcached keys in order to avoid collision * expiretime: The time to live in seconds Parameters
					$memcachedA \Memcached instance$optionsAn associative array of Memcached optionsThrows | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		open( string $savePath, string $sessionName )
			Re-initializes existing session, or creates a new one. 
			Re-initializes existing session, or creates a new one. Parameters
					$savePathSave path$sessionNameSession name, see http://php.net/function.session-name.phpReturns
					booleantrue on success, false on failure
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		close( )
			Closes the current session. 
			Closes the current session. Returns
					booleantrue on success, false on failure
 Implementation of | 
	
		| 
			 public 
			string
			
			 | 
		#
		read( string $sessionId )
			Reads the session data. Parameters
					$sessionIdSession ID, see http://php.net/function.session-idReturns
					stringSame session data as passed in write() or empty string when non-existent or on failure
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		write( string $sessionId, string $data )
			Writes the session data to the storage. 
			Writes the session data to the storage. Parameters
					$sessionIdSession ID , see http://php.net/function.session-id$dataSerialized session data to saveReturns
					booleantrue on success, false on failure
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		destroy( string $sessionId )
			Destroys a session. Parameters
					$sessionIdSession ID, see http://php.net/function.session-idReturns
					booleantrue on success, false on failure
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		gc( string|integer $maxlifetime )
			Cleans up expired sessions (garbage collection). 
			Cleans up expired sessions (garbage collection). Parameters
					$maxlifetimeSessions that have not updated for the last maxlifetime seconds will be removedReturns
					booleantrue on success, false on failure
 Implementation of | 
	
		| 
			 protected 
			Memcached | 
		#
		getMemcached( )
			Return a Memcached instance 
			Return a Memcached instance Returns |