How can I avoid being logged out?
Moodle automatically logs you out after two hours of inactivity (i.e two hours in which you have not loaded a page.) This is to avoid sessions being left open on public workstations. However, if you only use Moodle on your own devices, or you always take care to logout from public workstations, you can extend the timeout as follows: