php sessions

Ing. Branislav Gerzo 2ge at 2ge.us
Sat Aug 18 09:58:11 UTC 2007


Dieter Schmidt [DS], on Saturday, August 18, 2007 at 11:06 (+0200)
wrote about:

DS> I think, there is an  ini_set('session.save_handler', 'files'); in one
DS> of your include files and for that the session handler tries to access
DS> tcp://my.server.com:11211 as a file instead of using the memcache extension.
DS> Hope it helps you.

thanks a lot for fast both relpies, this was easy. The problem was, I
had in php.ini 2 times save_path, and later was to hdd :)

ok, now I run servers with memcache sessions, but another problem
comes:

FastCGI-stderr: PHP Notice:  session_start() [<a href='function.session-start'>function.session-start</a>]:
marked server 'my.server.com:11211' as failed in functions.php on line 302

function GetToken($sid){
        session_id($sid);
        session_start(); //line 302
        return session_id();
}

I use this for XMLRPC for Sessions. It seems I get this error only on
this line, nowhere else, so if you have idea whats going on, I will be
really appreciate.

also, I dont use PECL at all, only extension.

Thanks!

-- 

 ...m8s, cu l8r, Brano.

["God, my face is big."  Mike Nelson]



More information about the memcached mailing list