Moodle mobile app 3.3.2 session logged out after 4 hours in ios 11.2.6

Moodle mobile app 3.3.2 session logged out after 4 hours in ios 11.2.6

by Sourav074 . -
Number of replies: 2

moodle mobile app (v3.3.2) session logged out after 4 hours in ios 11.2.6. any suggesions to fix this issue?

I changed in config.php

$CFG->sessiontimeout = 31557600;

and also changed in database mdl_config as sessiontimeout : 31557600 but in ios(v11.2.6) its logged out after 4 hrs.



Average of ratings: -
In reply to Sourav074 .

Re: Moodle mobile app 3.3.2 session logged out after 4 hours in ios 11.2.6

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

in the Security settings (Moodle administration) there is a setting to limit the session duration, check that:

https://docs.moodle.org/34/en/Moodle_Mobile_guide_for_admins#Web_services_token_duration

In reply to Juan Leyva

Re: Moodle mobile app 3.3.2 session logged out after 4 hours in ios 11.2.6

by Sourav074 . -

Hi Juan,

 Thanks for responding me. So is that option is available in moodle 3.3 ?

 Actually my instance is running on moodle 3.3. And another thing is on Android devices and iphone x (ios 11.2.6 ) the app working fine,its keep me logged in.but in iphone 7 and iphone 6 (ios 11.2.6) its giving these logout issue after 4hrs. of inactivity.