- Posts: 9
[Closed] Joomla user timeouts, Moodle user won't auto logout
- Jon
- Topic Author
- Offline
- New Member
-
Less
More
14 years 9 months ago - 14 years 8 months ago #1
by Jon
[Closed] Joomla user timeouts, Moodle user won't auto logout was created 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.
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.
- Chris
-
- Offline
- Moderator
-
14 years 8 months ago #2
by Chris
Replied by Chris on topic Re: Joomla user timeouts, Moodle user won't auto logout
Hi there,
This should not be the case. Do all the steps show green ticks in the system health check?
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.
- Jon
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
14 years 8 months ago #3
by Jon
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.
Replied by Jon on topic Re: Joomla user timeouts, Moodle user won't auto logout
Hi Chris. Yup, all green ticks in Joomdle's System Check.chris wrote: This should not be the case. Do all the steps show green ticks in the system health 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.
- Chris
-
- Offline
- Moderator
-
14 years 8 months ago #4
by Chris
Replied by Chris on topic Re: Joomla user timeouts, Moodle user won't auto logout
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
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)
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.
- Jon
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
14 years 8 months ago #6
by Jon
For anyone watching, the "logout" button in Moodle also logs out the session in Joomla, thanks to Joomdle.
Replied by Jon on topic Re: Joomla user timeouts, Moodle user won't auto logout
Yes, I did just that! Works perfectly, so, no other hoops needed here. Thanks! Sorry for bogus bug report.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)
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.