[Closed] Joomla user timeouts, Moodle user won't auto logout

More
14 years 9 months ago - 14 years 8 months ago #1 by Jon
Login in your Joomla site, your Moodle site's corresponding user will login.
Logout in your Joomla site, your Moodle site's corresponding user will logout.

However, if your user timeouts, even if you unknowingly clicks "Logout", your Moodle site's corresponding user will still be happily logged in.
Last edit: 14 years 8 months ago by Chris.

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

More
14 years 8 months ago #2 by Chris
Hi there,

This should not be the case. Do all the steps show green ticks in the system health check?

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

More
14 years 8 months ago #3 by Jon

chris wrote: This should not be the case. Do all the steps show green ticks in the system health check?

Hi Chris. Yup, all green ticks in Joomdle's System Check.

If you're saying it shouldn't happen, I'll check my end again. Theoretically, every Moodle page load should check for Joomla user's session in order for this functionality to work right. Either that, or Joomdle should be able to send to Moodle a message like "Hey, session time out, do the same for your end". I can't see Joomdle sending such a message now, though.

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

More
14 years 8 months ago #4 by Chris
Actually I am more concerned about the logout button at this point. Problems with timeout sessions is sort of understandable. But when clicking a button seems odd.

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

More
14 years 8 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Re: Joomla user timeouts, Moodle user won't auto logout
Hi.

There is no such message "session has time out".

Joomdle does session sync, so it send messages like "session is still alive".

If you want both sessions to expire at the same time, just set their time to be the same (usually Joomla is 30 mins, while Moodle is 2 hours)

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

More
14 years 8 months ago #6 by Jon

antonio wrote: If you want both sessions to expire at the same time, just set their time to be the same (usually Joomla is 30 mins, while Moodle is 2 hours)

Yes, I did just that! Works perfectly, so, no other hoops needed here. Thanks! Sorry for bogus bug report.

For anyone watching, the "logout" button in Moodle also logs out the session in Joomla, thanks to Joomdle.

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