SOLVED
for solution see the last part of my first post
_______________________________________________________________________
hi , i read chapter 3 and try to pass session_set_save_handler with an object,
here's the code for my session handler class:
<?php
class MySessionHandler implements SessionHandlerInterface
{
protected $conn = NULL;
public function open($savePath, $sessionName)
{
if(is_null($this->conn))
{
$dsn = 'mysql:host=localhost;dbname=php_advanced';
$username = 'root';
$password = 'passw