Joomdle single Sign on is not working on Google Chrome

  • Harsh vardhan Tiwari
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 8 months ago - 13 years 8 months ago #1 by Harsh vardhan Tiwari
Joomdle single Sign on is not working on Google Chrome was created by Harsh vardhan Tiwari
I am using Joomla! Version Joomla! 2.5.6 Stable, moodle version Moodle 2.3.1+ and Joomdle R0.82 for Joomla 1.6/1.7.x/2.5.x (Changelog)

System Check is fine (all green)

Connection method is Curl.

SSO working fine inside Firefox, IE, Safari but not works in Google Chrome.

In Chrome Browser all component works fine but Log out part does not works Properly. means sometime user is not log out from moodle.

Is session is buggy on google chrome ?????????????

I am Newbie In Joomdle, I like it, I follow each and every Joomdle Documentation even each related topic in Joomdle Forum but not able to resolve this issue.

Please suggest me what i can do ?? or Do i need to make some changes in Joomdlehooks User Plugin.

I think Destroys Moodle session is not working Properly in Chrome Browser.

So Do I need to change here something for Chrome please please help me

function onUserLogout($user, $options = array())
{
$mainframe =& JFactory::getApplication('site');

if (array_key_exists ('skip_joomdlehooks', $options))
return true;

if ($mainframe->isAdmin())
return true;

$comp_params = &JComponentHelper::getParams( 'com_joomdle' );
$redirectless_logout = $comp_params->get( 'redirectless_logout' );

setcookie(JUtility::getHash('JLOGIN_REMEMBER'), '', time() - 86400, '/','','',0);

if (!$redirectless_logout)
{
$moodle_url = $comp_params->get( 'MOODLE_URL' );
$app = & JFactory::getApplication();
$app->redirect($moodle_url."/auth/joomdle/land_logout.php" );
return;
}

if (!array_key_exists ('MoodleSession', $_COOKIE))
return;

$old_session = session_id ();
session_name ("MoodleSession");
session_id("");
@session_destroy();
session_unregister("USER");
session_unregister("SESSION");
setcookie('MoodleSession', '', time() - 3600, '/','','',0);
unset($_SESSION);

}


please give me fast reply. I have to release my Product ASAP.
Last edit: 13 years 8 months ago by Harsh vardhan Tiwari.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago - 13 years 8 months ago #2 by Fernando Acedo
Replied by Fernando Acedo on topic Joomdle single Sign on is not working on Google Chrome
I'm sorry but Joomdle works fine in all the browsers I know: Chrome, FF, IE, Opera and Safari. And even in mobile browsers.

Follow the documentation and verify the Joomdle setup. Probably you have some setting wrong.
Last edit: 13 years 8 months ago by Fernando Acedo.

Please Log in or Create an account to join the conversation.