Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57752

tracksessionip does not allow users to re-login

    XMLWordPrintable

Details

    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-57752_tracksessionip
    • Hide
      • Site must be running on PHP 5.6+
      • Add: $CFG->tracksessionip = true; to config.php
      • Log in to the site
      • Change your IP address (depends on your OS - in Windows you can set you adapter to use a fixed IP address in your local network)
      • Try to visit a page on your site (but not 'Site home')
      • An error appears about the changed IP address and asks you to refresh the page
      • Refresh the page
      • You should now see the normal login page
      Show
      Site must be running on PHP 5.6+ Add: $CFG->tracksessionip = true; to config.php Log in to the site Change your IP address (depends on your OS - in Windows you can set you adapter to use a fixed IP address in your local network) Try to visit a page on your site (but not 'Site home') An error appears about the changed IP address and asks you to refresh the page Refresh the page You should now see the normal login page

    Description

      Steps to reproduce:

      • Site must be running on PHP 5.6+
      • Add: $CFG->tracksessionip = true; to config.php
      • Log in to the site
      • Change your IP address
      • Try to visit a page on your site
      • An error appears about the changed IP address and asks you to refresh the page
      • Refresh the page
      • Instead of reaching the login page, you are presented with the changed IP address warning again

      This is most noticeable when users are roaming from one wireless router to another.

      Attachments

        Activity

          People

            davosmith Davo Smith
            davosmith Davo Smith
            Jake Dallimore Jake Dallimore
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Mar/17