Hi there!

How does your code look like?

/G
http://www.varupiraten.se/

----- Original Message ----- From: "Dan Rossi" <[EMAIL PROTECTED]>
To: "PHP LIST" <php-general@lists.php.net>
Sent: Wednesday, September 07, 2005 12:55 PM
Subject: [PHP] Session object destruction failed


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



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/91 - Release Date: 2005-09-06



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

Reply via email to