Session object destruction failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there, I am using a pear session package to handle my sessions. However I am trying to destroy a url based non cookie session and then start a cookie based session however i am trying to set the session cookie with an expiry date, as ive been having complications with sessions expiring to wanted the cookie to expire in 2 days. I have googled and some ppl have had issues with session a session cookie after session_destroy ?? Any ideas?

Here is how i set it up

 HTTP_Session::destroy();
HTTP_Session::useCookies(true);
session_cache_expire(time()+60*60*24*24);
HTTP_Session::start('FeedPlayer');
 setcookie(session_name(),session_id(),time()+3600*24*2);
HTTP_Session::setExpire(time()+60*60*24*24);
HTTP_Session::setIdle(time()+60*60*24*24);

Sep 07 06:38:28 ident [warning] session_destroy(): Session object destruction failed in /usr/local/lib/php/HTTP/Session.php at line 204

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux