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

    Logout problem

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 2.0k 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.
    • A Offline
      alpha007
      last edited by

      Hey guys,

      in my captive portal, i have enable the popup-window for the logout. But after the login with a voucher-code, nothing happens. There is no new window with a logout-button. Did i something wrong? Or is there an other way, which i can take to logout?

      What happens with my time after logout. Can i use this voucher-code 2 days after the logout and can use that one again?

      Thanks for your help!

      1 Reply Last reply Reply Quote 0
      • W Offline
        wallabybob
        last edited by

        Vouchers are not for "Connect Time" but for "Elapsed time from first use". Thus a three hour voucher expires three hours from when it was first used.

        1 Reply Last reply Reply Quote 0
        • A Offline
          alpha007
          last edited by

          Ok thanks!

          But my problem is, if somebody use a voucher with 120 minutes. And he shut his Notebook after 50 minutes down, i dont see in the log, that the voucher isnt in use anymore. Is there a way i can handle that?
          Would the timeout for inactivity write into the log?

          1 Reply Last reply Reply Quote 0
          • W Offline
            wallabybob
            last edited by

            It is not clear to me how the captive portal can determine the voucher is no longer in use (as distinct from 'the user is taking a snack break').

            1 Reply Last reply Reply Quote 0
            • N Offline
              Nachtfalke
              last edited by

              @wallabybob:

              It is not clear to me how the captive portal can determine the voucher is no longer in use (as distinct from 'the user is taking a snack break').

              The only ways that CP recognizes that a voucher isn't online anymore is:
              1.) The voucher runs into a timeout (Idle Timeout or Hard Timeout).
              2.) You disconnect the voucher manually by hand using the GUI (Diagnostics -> Captive Portal)
              3.) The user clicks the "logout" window.

              If you like that users will be disconnected when taking a break for lunch or something else set the idle timeout to 10 minutes.
              If you want to make sure that everybody gets disconnected one (or several) times a day choose hard timeout 180 minutes.

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