会员资格,如何对具有试用会员资格的网站进行编程 [英] memberships, how to program a website that has a trial membership

查看:91
本文介绍了会员资格,如何对具有试用会员资格的网站进行编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有人可以告诉我在哪里可以找到建立试用会员资格的解决方案.我需要查看执行此操作的代码和过程.

感谢

Hi folks,

Can someone inform me where I find a solution to setting up a trial membership. I need to see the code and process for doing this.

thanks

推荐答案

在前面要求代码是不礼貌的.至少要自己先尝试一下.

解决方案非常简单.根据您的流程要求创建一个用户帐户.添加时间戳记到期.在登录时检查到期时间.不是火箭科学.
It is rude to ask for code right up front. At least try something on your own first.

The solution is very simple. Create a user account as your processes dictate. Add timestamp for expiration. At login check for the expiration. Not rocket science.


我为我的无知表示歉意.我是一名新开发人员,有时我不知道该怎么问或怎么问,仅仅是因为我可能对某个主题不了解.我并不想变得粗鲁,我不确定从哪里开始.我正在开发一个网站,该网站将提供14天的免费试用会员资格,并且可以选择支付少量费用以在试用会员资格到期后继续其会员资格.

我正在努力在SMSS中实现aspnetdb,并将其附加到我的App_Data文件夹中.在设置角色和用户帐户时,我计划允许用户输入用户名,密码和电子邮件地址. WAT实用程序可以完成许多此类编程.

但是,我不确定如何以编程方式处理14天试用期问题.换句话说,我是将代码添加到母版页文件中还是在数据库中执行某些操作?我无法在任何地方找到可以向我展示如何逐步执行此操作的教程或视频说明.

这就是我的请求中缺少代码的原因.我不知道该编码什么,或者它在网站或数据库文件中的位置.请理解我的无奈.我全职工作,抚养两个孩子,然后尝试教自己如何利用书籍和视频在自己的时间进行编程.直接与经验丰富的程序员合作无法让我感到奢侈,在那里我可以走过大厅并回答一些问题.我所有的知识都来自反复试验,书籍和视频.我希望您能体会到尝试独自学习软件开发这一主题有多么困难.如果我冒犯了您,请接受我的道歉.工作前景充满挑战,我正在尝试学习一种新技能,以便能够养家糊口.我希望我正在开发的网站能够为我提供这个机会.

最好的问候,
hfinmt
May I apologize for my ignorance. I am a new developer, and sometimes I do not know what or how to ask, simply because I may not know enough about a topic. I am not trying to be rude, I am not sure where to begin. I am developing a website that will offer a 14 day free trial membership, with the option of paying a small fee to continue the membership upon expiration of the trial membership.

I am working on implementing the aspnetdb in SMSS, and attaching it to my App_Data folder. In setting up roles and user accounts I plan to permit the user to enter a username, password, and email address. Much of this programming can be done with the WAT utility.

However, I am not sure what to do with the 14 day trial issue programatically. In other words, do I add code to the master page file, or do something in the database? I have not been able to find either a tutorial or video instruction anywhere that shows me how to do this step by step.

This is the reason for the lack of code in my request. I do not know what to code, or where it belongs in the website or database file. Please understand my frustration. I work full time, raise two kids, and then attempt to teach myself how to program on my own time with books and videos. I am not afforded the luxury of working directly with experienced programmers where I can walk across the hall and have a few questions answered. All of my knowledge is derived from trial and error, books, and videos. I hope you can appreciate how difficult it is to try to learn the topic of software development on one''s own. Please accept my apology if I have offended you. Job prospects are challenging, and I am attempting to learn a new skill so that I can support my family. I am hoping that the website I am developing will provide me with that opportunity.

Best regards,
hfinmt


这篇关于会员资格,如何对具有试用会员资格的网站进行编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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