在ap.net中特定页面上的访问用户的日志 [英] Log of visited user on specific page in ap.net

查看:164
本文介绍了在ap.net中特定页面上的访问用户的日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在特定网站页面上维护被访问用户的日志我想获得其注册的ID,时间,IP地址,我还希望看到,用户在该特定页面上花费了多少时间。



任何人都可以指导我那个特定的问题区域???

解决方案





您可以使用global.asax文件,找到Application_Start(或Session_Start)& Application_End事件,您可以编写逻辑来记录网站流量和用户信息等。



有关Global.asax文件的更多信息,请查看:



ASP.NET中的Global.asax [ ^

how can i maintain a log of visited user on specific website page i want to get its registered id, time, IP address and i also want to see, user how much time spend on that specific page.

Can anyone guide me that specific problem area???

解决方案

Hi,

You can use global.asax file, in that find Application_Start (or Session_Start) & Application_End events wherein you can write the logic to log the site traffic and user info, etc.

For more information on Global.asax file, check this:

Global.asax in ASP.NET[^]


这篇关于在ap.net中特定页面上的访问用户的日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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