Re: [Proftpd-user] Be sure a user can login once at the same time
TJ Saunders <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <1529366071.2687635.1412470304.30222135@webmail.messagingengine.com> |
> How do you handle the case where user logged in but got disconnect > (e.g. firewall dropped connection) and attempt to reconnect. Would this > mechanism be able to pick up the disconnect event and allow the user to > reconnect? Good catch! For this case, you would also want to use e.g. SQLLog EXIT ... and decrement the session count for that user in the table. The "EXIT" pseudo-command is handled, by mod_sql, whenever the connection ends, be it normally or abruptly. Cheers, TJ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html