在asp.net中获取用户详细信息 [英] Get Looged in User Details in asp.net

查看:68
本文介绍了在asp.net中获取用户详细信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在asp.net中开发一个Web应用程序,我需要获取登录用户时间和用户登出时间..



同时建议上述任何替代品



请帮助我



感谢和问候

Devkranth kishore

Hi

I am Developing a Web application in asp.net where i need to Get the Logged in user Time and Logged out user time..

Also suggest any Alternatives for the mentioned above

Please Help Me

Thanks and regards
Devkranth kishore

推荐答案

一种只适用于启用Javascript的浏览器的方式。跟踪每个用户点击的每个页面,并在给定的时间间隔内向服务器发回ping。以特定间隔扫描数据库,当用户的最后一次活动的时间间隔超过给定间隔时,将该用户标记为已注销。



问候,



- Manfred
A way that would only work in browsers whith Javascript enabled. Track each page hit per user and send back a "ping" to the server in a given interval. Scan the database in certain intervals an when the time interval of the last activity of a user was longer ago than the given interval, mark that user as logged out.

Regards,

— Manfred


这篇关于在asp.net中获取用户详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆