473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

login check to reset password after 90 days

I have been assigned the task of developing a login.aspx page for a
website that pulls the user information from the tblUsers table in the
sql database. After the username is verified, it has to be reset after
first login and again after 90 days. This is something I have never
done before and I am having trouble deciding the best way to get it
working. Is the best way to create a column in the tblUsers table
called last login and set it to 100 days when the user is created? Any
help or code samples would be appreciated,

jwpaco

Apr 24 '06 #1
2 1877

<jw*****@gmail.com> wrote in message
news:11*********************@t31g2000cwb.googlegro ups.com...
I have been assigned the task of developing a login.aspx page for a
website that pulls the user information from the tblUsers table in the
sql database. After the username is verified, it has to be reset after
first login and again after 90 days. This is something I have never
done before and I am having trouble deciding the best way to get it
working. Is the best way to create a column in the tblUsers table
called last login and set it to 100 days when the user is created? Any
help or code samples would be appreciated,


Firstly try to get rid of the requirement - your users will hate you.

The only way I can remember all my web site passwords is by making them the
same.

Even my bank doesn't ask me to change my password so what are you trying to
protect?
Apr 24 '06 #2
Hi,

Very easy, keep in the table the date they last changed the password, when
they login check it, and start prompting for changing the password a few
days before.

The code should be extremely simple, so IMO there is no need to provide it,
it's more fun writing it :)

btw, as Nick said this is not a very user friendly idea to start with.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

<jw*****@gmail.com> wrote in message
news:11*********************@t31g2000cwb.googlegro ups.com...
I have been assigned the task of developing a login.aspx page for a
website that pulls the user information from the tblUsers table in the
sql database. After the username is verified, it has to be reset after
first login and again after 90 days. This is something I have never
done before and I am having trouble deciding the best way to get it
working. Is the best way to create a column in the tblUsers table
called last login and set it to 100 days when the user is created? Any
help or code samples would be appreciated,

jwpaco

Apr 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John Davis | last post by:
I put a little login (username and password textfields) in a web page, and once the user able to login, I want the username and password textfields will disappear, and replace with text " has...
5
by: Paul King | last post by:
Ok, Im going crazy now - I had this working a week ago Im using the SA account authentication to my test.aspx page. It was working fine but now I get Login failed for user 'sa'. I had no...
2
by: Shakun | last post by:
Hi All, This is my 1st posting to this group. Can any1 help me with the "Remember Me" which is there in a login form. Im pasting the code below. Im not able to set a cookie.. Thanks, Shakun...
1
by: xcelmind | last post by:
Hello Dev. Guru, I want to at this time introduce myself. I am Stanley Ojadovwa by name. I’m a freelance and a newbie in web application development. I’m currently using ASP as my application...
2
by: dougloj | last post by:
Hi. I have an ASP.NET application written in C#. To log in, a user must provide their email address and password. I already give the user a "Remember my Email Address" check box. If they check...
5
by: yadev | last post by:
can you tell me how to write the code for username and password in php
8
by: lolodede | last post by:
i would like to create php login form but the problem is the form doesnt do anything <?php require_once("nocache.php"); ?> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC...
21
by: tvnaidu | last post by:
This is the Java script I am using fo rlogin page, but cursor not pointing to login box, any idea how can I point cursor to login box when this page loaded?. here admin login take to control page and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.