- Posts: 57
How To / General
Does Joomdle override the session settings in Joomla/Moodle?
- michaelhermary
- Topic Author
- Offline
- Banned
-
Less
More
10 years 8 months ago #1
by michaelhermary
Does Joomdle override the session settings in Joomla/Moodle? was created by michaelhermary
It doesn't happen often, but sometimes a student will get timed out of Moodle, but still be logged into Joomla, and yet when they click the link to go back over to Moodle, they're given some kind of error, so they have to log out and back in to Joomla first. I'm wondering why.
Does Joomdle override the session settings in Joomla and/or Moodle? Even when I set Moodle to 5 minutes, students stay logged in for hours.
Does Joomdle override the session settings in Joomla and/or Moodle? Even when I set Moodle to 5 minutes, students stay logged in for hours.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
10 years 8 months ago #2
by Chris
Replied by Chris on topic Does Joomdle override the session settings in Joomla/Moodle?
Hi there,
Have you read through these threads
- www.joomdle.com/forum/how-to-general/115...joomla-session#17405
- www.joomdle.com/forum/installation/11637...ut-randomly?start=10
You normally will want the Moodle session longer than Joomla, so by reducing it down to 5 minutes will certainly create issues.
Have you read through these threads
- www.joomdle.com/forum/how-to-general/115...joomla-session#17405
- www.joomdle.com/forum/installation/11637...ut-randomly?start=10
You normally will want the Moodle session longer than Joomla, so by reducing it down to 5 minutes will certainly create issues.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
10 years 7 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic Does Joomdle override the session settings in Joomla/Moodle?
Hi.
I was curious about this, and did some testing locally.
It seems to me that it is not Joomdle, but Joomla that is refreshing the session each five minutes.
I openen a session, and left it sitting there. I opened a sniffer, and looked at the traffic: there is a request made to com_ajax each ~5 minutes, that updates user session.
I don't know what is making this request, and why. I will need to check it more, and will when I have time, as I want to understand what is happening.
I was curious about this, and did some testing locally.
It seems to me that it is not Joomdle, but Joomla that is refreshing the session each five minutes.
I openen a session, and left it sitting there. I opened a sniffer, and looked at the traffic: there is a request made to com_ajax each ~5 minutes, that updates user session.
I don't know what is making this request, and why. I will need to check it more, and will when I have time, as I want to understand what is happening.
Please Log in or Create an account to join the conversation.
- michaelhermary
- Topic Author
- Offline
- Banned
-
Less
More
- Posts: 57
10 years 7 months ago #4
by michaelhermary
Replied by michaelhermary on topic Does Joomdle override the session settings in Joomla/Moodle?
Hmm, that is interesting Antonio. I'll look forward to seeing what you find out...
P.S. Thanks for the links Chris.
P.S. Thanks for the links Chris.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
10 years 7 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic Does Joomdle override the session settings in Joomla/Moodle?
Hi.
I found that the login module is the one causing this behaviour. It has "keepalive" funcionality, so if you leave a Joomla page open with login module in it, session will never time out.
If you are in another page, that does not show the module, session will end. Same if you close the window/tab, keeping browser open.
I found that the login module is the one causing this behaviour. It has "keepalive" funcionality, so if you leave a Joomla page open with login module in it, session will never time out.
If you are in another page, that does not show the module, session will end. Same if you close the window/tab, keeping browser open.
Please Log in or Create an account to join the conversation.