I am sad to see that this didn't make it in the most recent minor builds. Hope it may come in the future?![]()
Re-read my last response. This won't be happening.
Not even a logout button?
Not even a logout button?
The option to force an existing session to be logged out isn't doable without a LOT of work. Inactive sessions expire after 60 seconds, so just wait a minute and you should regain access to the router.
I just thought you were talking about adding a logout other users button to the warning / information page.
Then how do I access that page when I previously connected to the router from another computer?
- Thanks
The option to force an existing session to be logged out isn't doable without a LOT of work. Inactive sessions expire after 60 seconds, so just wait a minute and you should regain access to the router.
Concurrent logins won't be happening. If Asus specifically prevented these, then there must be a good reason. The backend was most likely never designed to handle multiple sessions.
What is classed as an 'inactive session' you say logs out after 60 seconds? I have several clients on my LAN, but if I forget and leave any one of them logged in on the router interface, the session never expires even after a few hours? Perhaps this is what AltF4 is confused about? I agree, it is annoying that you have to then find out which client is still logged in and then you have to go and manually log out of that client before being able to log in on another...
If you leave the web browser open on another computer, then this would require a forced logoff link, which I can't implement.
If you close the browser on the other computer, then you will be able to open a new session after 60 seconds on another computer.
I can't understand then need to log in so often with the web ui? The web ui is for configuration, that's why it's not designed for several concurrent users.
I log in to my router maybe 2-3 times a month at most.
And I'm from the "old school" where we shut down the web browser when leaving the computer, so there's never another computer logged in![]()
Since there seems to still be a lot of confusion and debate around this, let me go over the whole thing in detail, for one last time.
There are two things being discussed so far:
1) Ability to have multiple simultaneous logins
2) Ability to force logging out someone else
Ability to have multiple simultaneous logins:
Asus has specifically implemented code to ensure that only one user can be logged in the webui at one time. I am sure this was done for very good reasons, since it was a deliberate implementation, and not a bug or an accident.
The webui isn't just a bunch of static pages that get pushed to clients, and then the router receives a filled form. In some cases, the webui uses Ajax to talk back with the router while you are on the page. When you toggle between the 2.4 GHz and 5 GHz wifi settings, for example. Or when visiting the client list page. Therefore, it is important to ensure data integrity that only one person at a time talks back and forth with the router. Otherwise, the webserver backend would need to have some solid locking mechanisms in place. For instance, if you try to save your settings while nvram is locked for another operations, unpredictable things can happen.
Therefore, allowing multiple logins is something I don't want to implement, because it can lead to unpredictable behaviour, and settings corruption. Since stability has priority over additional features, this is the reason for my decision.
Ability to force logging someone else out
This is something I actually spent about two hours looking at. It's not realistically doable for the following reasons.
First, to be able to tell the router "Hey, log that other user out", you would have to be logged in yourself. Otherwise if you send a request to the router, it will simply say "Request denied, you have to be logged in for me to even listen to you, so here's the NoLogin page as my answer".
Second, it would be technically possible to implement a specific URL that would bypass authentication. Doing so however would mean that ANYONE would be able to kick any logged user, without any authentication. So picture this: you have your router configured with the web interface accessible over WAN. Someone decides to constantly access the "Kick that other user out" URL remotely. What's the end result? You will never be able to log into your router. This is best known as a "Denial of Service". You would be forced to unplug your WAN cable just to be able to access your router again. You can imagine how impractical this would be.
And thirdly: if you leave a browser window open on PC A, and you try to force logging it out from PC B, what will happen? A lot of pages will talk back with the router, requesting status updates, and so on. Within a few seconds, PC A will send another http request to the router, which will tell it "Need authentication". What will the web browser do on PC A? "Sure, here is my HTTP credentials". End result: within seconds, your PC A will be once again logged back into the router, and you are back to the same problem: PC B still locked out.
So on the forced logout link, this is something that I CAN'T implement. The whole authentication system would have to be redesigned just for this to be doable.
So there you go. The first one I won't implement because it compromises stability, the second I can't implement because it's not possible, in addition to being a major security hole.
Also bear in mind that you will be prevented from logging in ONLY if you actually leave another browser open. If you just closed a browser and forgot to click "Logout" first, or if your IP has changed, then just wait 60 secs. After 60 secs without hearing back from a client, the session will expire.
As far as I'm concerned, this debate is closed, since the reasons seem valid enough to support my decisions. If you still want to risk compromising your router's stability, then go ahead - fork the code, and remove ALL authentication-related code. Then, YOU deal with the support issues that you will receive in your mailbox when people see their router end up with corrupted settings, or some settings no longer get properly written back to the router.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!