//should fix problems that
//occur when you're using a script on your Joomla! site that has started a session
//with a different session name than "md5($mosConfig_live_site)" before Security Images
//can do that (= SMF bridge, VirtueMart and many others).
//The checker code is affected by such problems, not the image generation code.
//So the checker code must check for an opened session with a different session
//name, stop that session and start a new one. EASY!
if (empty ($_SESSION))
{
session_name(md5($mosConfig_live_site));
session_start();
}
elseif (session_name() != md5($mosConfig_live_site))
{
$old_session = session_name();
session_write_close();
session_name(md5($mosConfig_live_site));
session_start();
}defined( '_VALID_MOS' ) or die( 'Restricted access' );Users browsing this forum: cjmicro, Yahoo [Bot] and 1 guest