The invention provides an automatic logout method, device and
system for a
Web system. The automatic logout method comprises the steps: a connection between a
client and a
server is established when the
Web system logs in, and a session corresponding to the connection is established, and then the
server monitors a session destruction event; after the
server monitors that the session destruction event occurs, the server broadcasts a monitoring result to the
client, so that the
client judges whether to log out of the
Web system or not after receiving the monitoring result; and after the client determines to log out of the Web
system, the server logs out of the Web
system. According to the automatic logout method, the server is used for monitoring the session destruction event, and the serveris triggered to actively broadcast the monitoring result to the client, and then the client is triggered to judge whether the operation of
logging out of the Web system is executed or not; and afterdetermining that the Web system is logged out, the Web system is logged out, so that the automatic login of the Web system is realized under the condition that the client does not need to send the
AJAX request to the server, and the waste of resources is reduced.