创建特定时间段的用户个人资料... [英] create user profile for a certen time period...

查看:83
本文介绍了创建特定时间段的用户个人资料...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想使用SQL Server在ASP.NET 3.5中创建两种类型的配置文件:

1)免费用户(只能访问一个月)
2)付费用户(根据Paln)

计划:1年,2年和终生.

所以请帮帮我....

Hi,

I want to create two types of profile in asp.net 3.5 with sql server:

1) Free user( only access one month)
2) paid user(according to Paln)

Plan: for 1yr, 2yr and lifetime.

so plz, help me....

推荐答案

1.设置新用户注册时配置文件的到期日期.用户购买任何计划时,也请相应地更新到期日期.

2.每次用户尝试登录到您的网站时,请检查到期日期,并仅在其到期日期大于当前日期时登录他

就这么简单
1. Set the expiry date for the profile when a new user is registering. Also update the expiry date accordingly when the user purchases any plan.

2. Every time the user tried to log into your site, check the expiry date and log him only if his expiry date is greater than the current date

As simple as that


这篇关于创建特定时间段的用户个人资料...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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