Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: tracksessionip.

tracksessionip: Difference between revisions

From MoodleDocs
No edit summary
Line 9: Line 9:
* to turn it on, go to config.php and uncomment:
* to turn it on, go to config.php and uncomment:
* $CFG->tracksessionip= True;
* $CFG->tracksessionip= True;
// If this setting is set to true, then Moodle will track the IP of the
// current user to make sure it hasn't changed during a session.  This
// will prevent the possibility of sessions being hijacked via XSS, but it
// may break things for users coming using proxies that change all the time,
// like AOL.

Revision as of 03:42, 29 April 2007


Martin Langhoff

Config.php

  • to turn it on, go to config.php and uncomment:
  • $CFG->tracksessionip= True;
// If this setting is set to true, then Moodle will track the IP of the
// current user to make sure it hasn't changed during a session.  This
// will prevent the possibility of sessions being hijacked via XSS, but it
// may break things for users coming using proxies that change all the time,
// like AOL.