-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Session handling.

Session handling: Difference between revisions

From MoodleDocs
No edit summary
(timeout, cookie prefix)
Line 1: Line 1:
{{Moodle 1.7}}
Location: ''Administration > Server > Session Handling''
{{stub}}
 
==Timeout==
 
Once someone logs in to your Moodle server, the server starts a session. The session data allows the server to track users as they access different pages. If users don't load a new page during the amount of time set here, Moodle will end their session and log them out.
 
Be sure this time frame is long enough to cover the longest test your teachers may offer. If a student is logged out while they are taking a test, their responses to the test questions may be lost.
 
==Cookie prefix==
 
Most of the time, you can leave this blank, unless you are running more than one Moodle site on the same server. In this case, you will want to customize the name of the cookie each Moodle site uses to track the session. This enables you to be logged into more than one Moodle site at the same time.
 
Note: If you change "Cookie prefix" or "Cookie path" you will need to login again as the changes take effect immediately.
 


[[Category:Administrator]]
[[Category:Administrator]]
Note: if you change "Cookie prefix" or "Cookie path" you will need to login again as the
changes take effect immediately.

Revision as of 15:33, 5 October 2007

Location: Administration > Server > Session Handling

Timeout

Once someone logs in to your Moodle server, the server starts a session. The session data allows the server to track users as they access different pages. If users don't load a new page during the amount of time set here, Moodle will end their session and log them out.

Be sure this time frame is long enough to cover the longest test your teachers may offer. If a student is logged out while they are taking a test, their responses to the test questions may be lost.

Cookie prefix

Most of the time, you can leave this blank, unless you are running more than one Moodle site on the same server. In this case, you will want to customize the name of the cookie each Moodle site uses to track the session. This enables you to be logged into more than one Moodle site at the same time.

Note: If you change "Cookie prefix" or "Cookie path" you will need to login again as the changes take effect immediately.