Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,512,154 members, 5,728,507 topics. Date: Wednesday, 15 July 2020 at 11:33 AM

Login Expiration - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Login Expiration (997 Views)

Login Code In Vb6.0 / I Need A Help To Write A Simple Login Form Using Vb.net / [Code Request] Code for PHP Login And Signup (2) (3) (4)

(1) (Reply)

Login Expiration by sixbon2000(m): 10:58pm On Jul 02, 2008
Hi guys,pls can anyone tell me or send me a script on how to make a username of pin expire afre a certain number of logins just like the way most online sites that make use of scratch cards do it using php and mysql.
Re: Login Expiration by javaprince(m): 11:06pm On Jul 02, 2008
To do that, create a Table storing all PINS and their respective number of logins - this should be initially set to Zero. Next thing to do, is to write a code such that everytime a PIN is used to log in, u Update the Login-Numbers in the database. When the maximum Login has been used, U deny the user access to Login.

I don't have time to write PHP script right noe, but if u are a PHP programmer, u shld be able to write the script based on the steps i gave above.

Cheers! wink
Re: Login Expiration by sixbon2000(m): 10:20am On Jul 08, 2008
Thanks a lot javaprince,i just needed a headstart,i think i can manage on my own now ,thans again

(1) (Reply)

Follow Me On My Contract / Oop Php / Shuffling Multidimensional Array Of Values

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.