Windows上的注销用户关闭....

编程入门 行业动态 更新时间:2024-10-07 00:14:37
本文介绍了Windows上的注销用户关闭....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想在我的项目中实现这样的功能,无论何时用户登录,如果他关闭窗口而没有注销,那么他应该注销,我也想一次改变数据库中的状态..我已经尝试过onunload和onbeforeunload但它只影响20分钟后的超时会话时间...所以如何实现这个请给我建议...即时等待...... .. 提前感谢... -malav。

解决方案

在完全相同的事情上查看您之前的主题: http:// bytes / forum / thread794330.html

在完全相同的事情上查看您之前的帖子: bytes/forum/thread794330.html HI电镀, 我知道我以前发过同样的事情,但我的问题仍未解决,我也试过onbeforeunload但仍然是状态仅在20分钟后的会话超时时间后更改...那么???的解决方案是什么?

那么你在使用ununload函数做什么? 您是否正在向服务器发送消息告诉他们Session.Abandon()?

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.

解决方案

See your previous thread on the exact same matter: bytes/forum/thread794330.html

See your previous thread on the exact same matter: bytes/forum/thread794330.html

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 ???

Well what are you doing with your ununload function? Are you sending a message back to your server telling them to Session.Abandon()?

更多推荐

Windows上的注销用户关闭....

本文发布于:2023-11-03 04:53:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554285.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:用户   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!