J
John_Woo
Hi,
I'm wondering, what's the idea to enable a swing app logout user as
soon as the session time out?
This's a online app as well, but what I want is, the JFrame itself
controls the logout, and send the logout time to server via socket.
The requirement is that, whenever a button clicked or menu items
changed by clicking on the sub-menu icon, then the session time refresh
to 0; Every icon in menu bar associated with a panel, and the buttons
on button-bar associated with actions.
This attemption leads to a challenging question: how to prevent user
changing the computer's time before session time out, to always keep
alive (I know we can use the server's time, but that is not a good
choose as there may be up to 1 million of users and the session time is
not stored in table)?
I'm wondering, what's the idea to enable a swing app logout user as
soon as the session time out?
This's a online app as well, but what I want is, the JFrame itself
controls the logout, and send the logout time to server via socket.
The requirement is that, whenever a button clicked or menu items
changed by clicking on the sub-menu icon, then the session time refresh
to 0; Every icon in menu bar associated with a panel, and the buttons
on button-bar associated with actions.
This attemption leads to a challenging question: how to prevent user
changing the computer's time before session time out, to always keep
alive (I know we can use the server's time, but that is not a good
choose as there may be up to 1 million of users and the session time is
not stored in table)?