Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

One Time Registration Code

One Time Registration Code



3:30 am on Jul 7, 2014 (gmt 0)

I am trying to create an authentication for a form.

Its like an application. If you don't enter a code provided by me, you can't access the form.
Please how do i do that ?

1. If code is not associated to a user ID, code should still remain valid.
2. Code should work only once
3. Two or more users entering code at same time (one must be invalid).


5:36 pm on Jul 7, 2014 (gmt 0)

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

...you can't access the form.

Presumably you mean the user will not be able to submit the form successfully? (They would need to "access the form" wouldn't they?)

I'm not sure which bit you are stuck on?

Assuming one code for one user, the basic principle could be something like:

1. You issue a unique code to a particular user (and tell the user somehow by email, sms, phone, etc.) The code is assigned to the user record in the database.

2. User enters code and submits form.

3. If code matches code in users record then success and remove code from database. Otherwise reject.

Featured Threads

Hot Threads This Week

Hot Threads This Month