Welcome to WebmasterWorld Guest from 107.21.141.245

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)

New User

joined:July 7, 2014
posts: 1
votes: 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 ?

Challenges;
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 July 7, 2014 (gmt 0)

Senior Member

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

joined:July 3, 2006
posts: 3123
votes: 0


...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.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members