本文介绍了Windows上的注销用户关闭....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想在我的项目中实现这样的功能,无论何时用户登录,如果他关闭窗口而没有注销,那么他应该注销,我也想一次改变数据库中的状态..我已经尝试过onunload和onbeforeunload但它只影响20分钟后的超时会话时间...所以如何实现这个请给我建议...即时等待...... .. 提前感谢... -malav。解决方案 Hi, I want to implement such a functionality in my project that whenever user is login and if he closes the window without logout then he should be logout and i also wants to change the status in database at a time.. i have tried the onunload and onbeforeunload but it affects only after timeout session period that is after 20 minutes... so how to implement this please give me suggestion... i m waiting.....thanks in advance...-malav. 解决方案HI plater, I know that i have posted same thing before but still my problem is not solved, i also tried onbeforeunload but still the status changes only after session timeout period that is after 20 minutes... so what is the solution of that ??? 这篇关于Windows上的注销用户关闭....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 07-29 23:52