Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Logout problem

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 3 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      itaca
      last edited by

      I click on the logout button on the logout popup, and it just sits there "waiting for 10.10….."

      it will sit there for a good 5 minutes before doing anything

      Pfsense version  1.2.3

      1 Reply Last reply Reply Quote 0
      • L
        lol
        last edited by

        Hi,
        Same issue…
        With IE click twice & it works. With Firefox, cliks hundred times & still doesn't work...

        A free pastbin without advertising…
        French Debian Community's Wiki

        1 Reply Last reply Reply Quote 0
        • L
          lol
          last edited by

          Hi,
          Nobody have a solution  ???
          Don't work with Safari, Opera, Chrome or Firefox…
          Please...

          A free pastbin without advertising…
          French Debian Community's Wiki

          1 Reply Last reply Reply Quote 0
          • C
            cruzades
            last edited by

            after the first click on log-out pop-up, you are actually logged out already.

            here, try to click it once, and close it, then try to open a new page, at this point you will be redirected to portal again.

            1 Reply Last reply Reply Quote 0
            • L
              lol
              last edited by

              @cruzades:

              after the first click on log-out pop-up, you are actually logged out already.

              here, try to click it once, and close it, then try to open a new page, at this point you will be redirected to portal again.

              Hi,
              Thanks for your answer.

              Most of the time click only one time is not enough. Client is still connected…

              You're right, but it's not a "clean" solution. I have to explain to each client that they have to click twice (or more)...
              If they don't click twice & close the browser without to be disconnected, the counter continue to run, & they lost their credits...

              They think I'm not honest... I'm not happy with this solution !

              A free pastbin without advertising…
              French Debian Community's Wiki

              1 Reply Last reply Reply Quote 0
              • I
                itaca
                last edited by

                modify index.php

                if ($_POST['logout_id']) {
                    //disconnect_client($_POST['logout_id']);  <–-------comment this line
                    echo << <eod<br><title>Disconnecting…</title>

                You have been disconnected.

                EOD;
                disconnect_client($_POST['logout_id']);  <–---- add line</eod<br>

                1 Reply Last reply Reply Quote 0
                • L
                  lol
                  last edited by

                  Hello Itaca,
                  Thanks a lot for your help. It works very well with Firefox !
                  Not with the others browsers (Chrome, Safari or Opera, but it's not important)

                  :)

                  A free pastbin without advertising…
                  French Debian Community's Wiki

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.