如何在asp.net中维护用户历史记录 [英] how to maintain the user history in asp.net

查看:59
本文介绍了如何在asp.net中维护用户历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net中维护用户的声誉历史





请分享信息

How to maintain reputation history for users in asp.net


Please share information

推荐答案

您可以通过将数据保存在数据库中来维护用户历史记录。

为此,您必须创建一个新的表,如UserHistory,并在用户登录和注销时插入数据。为此,你可以使列像:



ID(身份)UserID DateTime。



使用数据时间你还可以知道你网站上用户的持续时间。



接受回答并投票给你帮助。
You can maintain user history by saving that data in data base.
For this you have to create one new table like UserHistory and insert data when user login and logout. For this you make Column like:

ID(Identity) UserID DateTime.

For using data time column you can also know duration of user on you site.

Accept as answer and vote if help to you.


这篇关于如何在asp.net中维护用户历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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