]> git.mjollnir.org Git - moodle.git/commit
MDL-16875 New Moodle setting - sessioncookiedomain
authorjonathanharker <jonathanharker>
Sun, 14 Dec 2008 22:28:39 +0000 (22:28 +0000)
committerjonathanharker <jonathanharker>
Sun, 14 Dec 2008 22:28:39 +0000 (22:28 +0000)
commite6e13284f9653e8e46c78a731ba0caebf81b11b9
tree71a8e1a3968bb9f46e1e749b6959a6f1b437d28a
parentacf149ad15997f80495636f6c1e73cf748a2e360
MDL-16875 New Moodle setting - sessioncookiedomain

 Added new sessioncookiedomain setting to session handling section.
 * allows you to change the domain that the Moodle cookies are available
   from. This is useful for Moodle customisations (i.e. Squirrelmail SSO
   or enrolment plugins) that need to share Moodle session information
   with a web application on another subdomain.
 * Will NOT work if the moodle host does not have a domain - i.e. just a
   hostname, e.g. 'localhost' or 'myhostname'. Needs a FQDN
 * Currently the setting is set to PARAM_TEXT length 50 since PARAM_HOST
   does not allow a leading dot e.g.  '.mydomain.com'
 * TODO: do we make up a new PARAM_COOKIEDOMAIN which is the same as
   PARAM_HOST but allows leading dots? Using PARAM_HOST and prepending a
   dot may not always be desirable.
admin/settings/server.php
lang/en_utf8/admin.php
lib/sessionlib.php