Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,298 members, 7,808,015 topics. Date: Thursday, 25 April 2024 at 03:28 AM

Login Expiration - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Login Expiration (1116 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)

Help With Asterisk / How To Get Started With Github / Please How Do I Add This To My Site

(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 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.