Hello Stephen,
On Saturday, March 08, 2003, Stephen Carr wrote...

> I posted a problem with persisting session files in SM 1.2.11 some time
> back and I had to revert to SM 1.2.10. I notice some other users are
> having similar problems.

> I think I have a fix - I am no PHP expert.

> In src/global.php line 158 I changed @session_destroy; to session_destroy();
> and now when I SignOut the session file is removed.

> I hope this is the fix Jonathan Angliss wants.

I'd fixed this a couple of days after 1.2.11 was released when I
noticed my typo ;) I'd put the @ in front of the session_destroy
because I was getting occasional errors when trying to use it, on a
non-initialized session. But putting the @ in front also meant that I
didn't notice that I'd removed the () from the end... I did the same
in 1.4 as well, but fixed them both.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
--
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

Reply via email to