[isf-wifidog] Logout issue

Jkx Jkx at larsen-b.com
Jeu 12 Mai 08:32:21 EDT 2005


Hy everybody.

I get some trouble with the logout because it's lack a bit of API i think.

When somebody try to surf it will be redirected to a login page
(with the gw_id  as parameter ..) but for the logout there is a issue.
In fact if somebody (already logged) want to logout, i should go to
a url like http://central_server/logout/ but the central server don't know
anything about the client. so it can invalidate the user.

One way to fix that is to store the gw_id, and login is session data
in the central server database. but if the user close the browser the
session will be lost...

This kind of issue can be found somewhere else. Take for example,
the bandwith limitation.. If the cental server detect that somebody
eated 100% of his bandwith, it can block the account, but he cannot
redirect the user to special page explaining the issue..

I guess this is why chillispot have some custom url on the APs like
http://gatewayX:port/logout  that redirect to the 
http://central_server/logout/?gw_id=&login..


What do you think about this .. ?


Plus d'informations sur la liste de diffusion WiFiDog