01-20-2008, 12:13 AM
|
#16 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
Testing my session management cookie-based system.
PHP Code:
$this->Input = Registry::get( 'input' ); $this->DB = Registry::get( 'database' );
$cookies['session_id'] = $this->Input->ReadCookie( 'sid' );
if( $cookies['session_id'] === null ) { $this->init_new_session(); }
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|