Login Page


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Login Page

  1. #1
    Join Date
    Mar 2005
    Posts
    53

    Login Page

    I have a login page. I would like to add some more functionality and security to it. I have a table that contains users with their usernames and passwords. Every couple of months I would like to force them to change their passwords.

    Is there any sample code out there that does this?

    Thanks,
    Ninel

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I don't have any sample code, but it's pretty straightforward: in your database, save the date/time whenever they update their password. Then in the code for your login page, compare today's date with the saved date; if sufficient time has elapsed, redirect the user to a change password page.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Nov 2006
    Posts
    1

    login page

    hi ninel

    can u send me the code of your login page,i have started to learn asp.net just two days before so it can be helpfull for me.

    my email id : sulaimanloane@hotmail.com
    msloanepk@yahoo.com

    Muhammad Sulaiman Loane

Similar Threads

  1. Return to Login page
    By THL in forum ASP.NET
    Replies: 5
    Last Post: 08-31-2005, 10:47 PM
  2. Login page
    By gvtolea in forum ASP.NET
    Replies: 20
    Last Post: 04-03-2005, 04:21 PM
  3. prob.. in login page
    By abhit_kumar in forum Java
    Replies: 2
    Last Post: 03-28-2005, 07:14 AM
  4. prob.. in login page
    By abhit_kumar in forum Java
    Replies: 0
    Last Post: 02-24-2005, 08:49 AM
  5. Replies: 0
    Last Post: 06-10-2002, 09:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center