Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

tracksessionip: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Cap resum de modificació
Cap resum de modificació
 
Línia 1: Línia 1:


==Comments==
==Comments==
Línia 16: Línia 15:
  // may break things for users coming using proxies that change all the time,
  // may break things for users coming using proxies that change all the time,
  // like AOL.
  // like AOL.
==Alternative==
* set dbsessions to "YES" so that sessions are stored in the db
* non-recommended alternative method is to allow domain users write access to the sessions directory (see note at bottom of [[NTLM_authentication]])

Revisió de 04:04, 29 abr 2007

Comments

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.

Alternative

  • set dbsessions to "YES" so that sessions are stored in the db
  • non-recommended alternative method is to allow domain users write access to the sessions directory (see note at bottom of NTLM_authentication)