phpDocumentor Naos_Session
[ class tree: Naos_Session ] [ index: Naos_Session ] [ all elements ]

Class: Naos_Session_DbSaveHandler

Source Location: /Session/DbSaveHandler.php

Class Naos_Session_DbSaveHandler

Class Overview

Naos_Session_DbSaveHandler implements the Zend_Session_SaveHandler_Interface interface and therefore provides functionality to store sessions.

This class should be used only if database connection is configured and set up.

Located in /Session/DbSaveHandler.php [line 26]



		
				Author(s):
		
Information Tags:
Copyright:  Copyright (c) 2008 Jupiter GmbH
License:  http://www.naos-framework.com/website.naos.framework/en/license

Methods

[ Top ]
Method Summary
void   close()   Close Session - free resources
void   destroy()   Destroy Session - remove data from resource for given session id
void   gc()   Garbage Collection - remove old session data older than $maxlifetime (in seconds)
void   open()   Open Session - retrieve resources
void   read()   Read session data
void   write()   Write Session - commit data to resource

[ Top ]
Methods
close  [line 42]

  void close( )

Close Session - free resources


API Tags:
Access:  public


[ Top ]
destroy  [line 82]

  void destroy( string $id  )

Destroy Session - remove data from resource for given session id

Parameters:
string   $id: 

API Tags:
Access:  public


[ Top ]
gc  [line 95]

  void gc( int $maxlifetime  )

Garbage Collection - remove old session data older than $maxlifetime (in seconds)

Parameters:
int   $maxlifetime: 

API Tags:
Access:  public


[ Top ]
open  [line 34]

  void open( string $save_path, string $name  )

Open Session - retrieve resources

Parameters:
string   $save_path: 
string   $name: 

API Tags:
Access:  public


[ Top ]
read  [line 51]

  void read( string $id  )

Read session data

Parameters:
string   $id: 

API Tags:
Access:  public


[ Top ]
write  [line 68]

  void write( string $id, mixed $data  )

Write Session - commit data to resource

Parameters:
string   $id: 
mixed   $data: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Sat, 13 Sep 2008 01:40:44 -0400 by phpDocumentor 1.4.0