If I comment out function sqsession_destroy() located in
functions/global.php line 252, the page loads every time.
The problem is definitely there. It seems to have something to do with
the cookie being set(or not?)
Also when it times out if I refresh the page it loads.
I hope this clarifies my problem.
Thanks....
Here is the function in question:
function sqsession_destroy() {
/*
* php.net says we can kill the cookie by setting just the name:
* http://www.php.net/manual/en/function.setcookie.php
* maybe this will help fix the session merging again.
*
* Changed the theory on this to kill the cookies first starting
* a new session will provide a new session for all instances of
* the browser, we don't want that, as that is what is causing the
* merging of sessions.
*/
global $base_uri;
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);
$sessid = session_id();
if (!empty( $sessid )) {
if ( !check_php_version(4,1) ) {
global $HTTP_SESSION_VARS;
$HTTP_SESSION_VARS = array();
} else {
$_SESSION = array();
}
@session_destroy();
}
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
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