Hello Sergiu,
On Thursday, February 27, 2003, Sergiu Dunca wrote...
> I've just commented out the 'if's in global.php, function
> sqsession_destroy() :
> /*if (isset($_COOKIE[session_name()]))*/ setcookie(session_name(),
> '',time() - 5,$base_uri);
> /*if (isset($_COOKIE['username']))*/
> setcookie('username','',time() -
> 5,$base_uri);
> /*if (isset($_COOKIE['key']))*/ setcookie('key','',time() - 5,$base_uri);
> and now it works fine. I'm new to php language so I'm not convinced why I
> had to do that in order to work.
This is curious... I can see how that'd work in a way, but if the
cookies aren't set yet, you just created some, although they expire 5
seconds before you set them, so they are destroyed again. I'll drop
this into CVS, and see if this fixes some of the other problems we've
seen relating to sessions.
--
Jonathan Angliss
([EMAIL PROTECTED])
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users