How To Make Website User Account Expire In A Year

Apr 22, 2013

I am using visual studio 2010 and have created a website for a client. The problem I am having, other than enabling flash video playback which I am researching, is how to make the user accounts expire after a year. He wants users to pay for a year subscription to the website to access the videos, but I can't figure out how to make them good for only a year. And as an aside, if I could make the videos "self-destruct" after 48 hours when downloaded.

View 13 Replies


Similar Messages:

ADO.NET :: Need To Make A Field For Account Type In User Account Table?

Feb 2, 2011

Do I just need to make a field for account type in my user account table? In a technical way, if(account type = admin) then the account would log as admin; otherwise, a user with less privileges.

View 7 Replies

SQL Server :: Ogin Failed For User 'machinename' / Make Website Access To The Sql Server With The Account Of "sa"?

Sep 15, 2010

I meet a problem and an error:

Cannot open database "dbTest" requested by the login. The login failed.

Login failed for user 'machinename'.

The condition is like this:

1 I make my website connect to a remote sql server.

2 This sql server makes only access to a count, such as 'sa' and its password is 'sapw'

3 I write the connect string in web.config like this :

[code]....

But the error says "Login failed for user 'machinename'". How could I make my website access to the sql server with the account of "sa"?

View 1 Replies

C# - Can An User Connect To Website Using Orkut Account

Apr 8, 2010

Can a user connect to my web site using an Orkut account ? Just like Google Friend Connect or Facebook, but with Orkut.

The idea is, the user goes to my web site, I have a "Connect using Orkut" button there, on click takes him to the Orkut login page, once s/he logins and grants access to my app, get's redirected to my web site with the Orkut ID as a parameter. The same procedure that works for Google Friend Connect and also Facebook Connect....

I haven't seen an example of this with Orkut. Can it be done ? Is there an Orkut Connect or similar ?

A sample in c# would be excellent, but I would be happy with a sample in any language.

View 1 Replies

Web Forms :: Make The Images Available In The Master Page After The Session Expire?

Feb 3, 2010

I am using the Forms Authentication in my application.

I have a master page and I have a default content page in the defaultUrl of the Forms Authentication. I am facing an issue: when the session expires the images and the css of the Master Page are not available.

How can I make the images available in the master page after the session expire?

View 6 Replies

User Controls :: Session Should Not Expire Until User Logs Out

Apr 23, 2014

how to maintain the session that doesn't expire unless and until user logout. 

View 1 Replies

How To Make DLL Available To User For Download From Website

Nov 30, 2012

how to make a dll available to user for download from my web site?

The dll is called CAPICOM and it s a microsoft dll. I need it to be downloaded by the user and registered on his machine, in order to do some client encryption stuff.

If I have the dll on my server, how to make the asp.net web page in order to alow the client browsing the site to download the dll file and register it on his local machine ?

View 3 Replies

Security :: Make A Permission Schema For Website With Three Types Of User?

Aug 2, 2010

i have three types of users and i want each one of them to reach only its pages not the othersi want to know what to do in database and the code

View 9 Replies

Web Forms :: How To Make Year And Month As DropDown In Web Calender

Aug 2, 2010

Is there any way that we can make year and Month as DropDown in Web Calender.

View 8 Replies

Make A Final Call To The Database When User Leaves Website (ASPX)?

Mar 12, 2010

I have a system set up to lock certain content in a database table so only one user can edit that content at a time. Easy enough and that part is working fine. But now I'm at a road block of how to send a request to "unlock" the content. I have the stored procedure to unlock the content, but how/where would I call it when the user just closes their browser?

View 6 Replies

How To Expire Any Auto-login Cookie When User Change Password

Nov 3, 2010

I use ASP.NET Form Authentication method in my project to keep login information as user id in user's cookie like the below code. It works well without any problem.

FormsAuthentication.SetAuthCookie(userInfo.id.ToString(), model.AutoLogin);

But the problem occurs when user use automatic login and then he change his password. In some site, I see it will force you to re-login when you change password. It's quite easy for forcing current page to log out and re-login again.

But I don't find any nice idea for forcing other auto-login cookie in other browser to login again. I have some quite ugly idea for doing that but I don't like it.

Keep latest change password date in user data.

Put it in authentication cookie like the following code.

FormsAuthentication.SetAuthCookie(userInfo.id.ToString() + '|' + userInfo.ChangePasswordDate, model.AutoLogin);

View 1 Replies

Web Forms :: Expire Webpage If The User Hasn't Worked With It For 100 Seconds?

Mar 2, 2011

I want to expire a web page if the user hasn't worked with it for 100 seconds.

How to do that?

View 2 Replies

How To Implement Url Routing For A Website Which Is One Year Old

Apr 2, 2010

Is it advisable to implement url routing for an asp.net(webforms) website which is one year old... What are the factors to be considered before implementing....

Edit: It is a web based product website developed my company and users should pay for using it...

View 2 Replies

Web Forms :: Display Session (Timeout) Expire Message 5 Seconds Before Session Expire

May 7, 2015

Using this code i want to show an modal pop up to the user that "your session will be expired within 5 minutes , Click here [BUTTON] to reset your session" , here's my code :

<asp:Button ID="btnReset" Text="Reset" runat="server" OnClick="ResetSession" />
<br />
Your Session will expire in <span id = "seconds"></span> seconds.
<script type="text/javascript">
function SessionExpireAlert(timeout) {
var seconds = timeout / 1000;
seconds--;

[CODE]...

View 1 Replies

Web Forms :: Webpage Expire When User Press Back Button Of Browser?

Feb 1, 2010

I want when user press back button of browser.the web page should expire.

View 1 Replies

IIS Configuration :: Error When User Session Expire - Validation Of Viewstate MAC Failed

Jan 30, 2014

if my website when session of user expire i get the following error.

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

My website is in vs3.5

View 1 Replies

User Controls :: Show Session Expire Timeout Countdown To Users

Dec 17, 2012

I need to show how to show countdownwhen the user session expire? if users session expire means i need to redirct user to login page.. How can i achieve this?

View 1 Replies

Security :: How To Create User Account Belong To Normal User Automatically

Mar 25, 2010

I facing a problem here. how can I make the create user wizard category all the new user become normal user role? I have created 2 role which is Manager and Normal User. Normal User can't view the Manager page. But after i create a new user account, i can view manager and normal user page. I want to make all the new member registration will be normal user role?

View 6 Replies

Web Forms :: Account Page Shows Only Information For First Created User, Not The Info On Logged In User?

Mar 4, 2010

I have the membership provider and the create user with tow steps, one of the steps contains a custom registration form, for each created user data will be in the database, and there is an account page shows the data that the new created user did insert during the registration process on the custom registration page,

the problem, when the user is created and logged into his account page, this account page shows only the information for the first created user, not the info on the logged in user , but the logged in user data still saved in database and not showing on his account page?

This is web.confg code:

<?xml version="1.0"?>

View 22 Replies

Databases :: Data Storage - Handle Record Year By Year

Jan 28, 2010

I develop a asp.net web application with mysql database. Our monthy data entry records will be over 700. Here I would like to know : could mysql safely handle this monthly records year by year?to handle these records, should I need to make any registration to mysql for any services?is mysql a totally free database?

View 3 Replies

Web Forms :: Validate Year Should Be Less Than Current Year Using Customvalidater

Feb 25, 2016

In an Textbox to accept the year before the current year how will validate.

View 1 Replies

User Controls :: How To Check If User In User Account Table Is In Another Table Called UserFollow

Apr 27, 2016

I want to check if a user in User table is found either in UserName Column or in FriendUserName Column in UserFollow table and if yes display lable found, But if no display lable notfound. This code will be excuted onse a user logs in the connection code

protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserName"] != null && Session["UserName"].ToString() != string.Empty)
{
string userName = Session["UserName"].ToString();
if (!this.IsPostBack)

[code]...

View 1 Replies

Login With Google Account On Website?

Apr 9, 2010

I would like my users to be able to login with their google account on my website. I understand the basics. I have to use oAuth, but what "scope" should I use? I just want to verify the user has a valid google account. Once authenticated with Google I will force them to create a nickname, etc.

But my problem is I have to create a RequestToken but what scope should i specify? In google's example it give my app the ability to access their google calendar but I don't need that.

View 2 Replies

Want To Make A Simple "date Selector" With 3 DDL's For Day / Month / Year?

May 29, 2010

I have never created a user control before. I want to make a simple "date selector" with 3 DDL's for day, month, year, and be able to re-use it numerous times on a page. I don't need to set any values of the control from the page itself, but I do need to read the DDL.selectedValues. I created the DDLs in the ascx file, but am not sure what properties to create. Does it make sense, or is it recommended, to create a public readonly property for each DDL _as_ a DDL? Or do I want to create a public property of type "string" and return the DDL.selectedValue as a string?

View 7 Replies

How To Use DefaultAppPool Account If Website Is On The File System

Jun 27, 2010

Can I specify in web.config, or even programatically somehow, that anytime ASP.NET needs to login into SQL server that is use the DefaultAppPool account even if my Website is on the "File System"? What would I put in the web.config file?

<identity impersonation="true"> maybe? And what else?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved