Jump to content

Quiz system and quiz ids


corbin

Recommended Posts

So I'm making a quiz system, and I was wondering what the best approach would be with the quiz ids.  It works were a user has to sign up to make a quiz, but anyone can take the quiz.  Since the quizzes are public it would be easy for anyone to see quiz.php?id=7 and go hmmm I think I'll see what quiz 6 is, so would it be better to use random quiz IDs instead of ascending numeric?  I would think it would definitely be better to use random IDs, but I'm not sure.  So, any opinions would be appreciated, and if you think I should do them randomly, how long should the random string be?  Should it be alphanumeric, or just numeric?

Thanks,
Corbin
Link to comment
Share on other sites

They can take any quiz, but I would personally be annoyed if random people started taking my quiz... Maybe I could give the quiz creators links like ?id=45&auth=ej2343 and if auth didn't match the value in the database echo something about invalid quiz ids... That would semi insure that the quiz maker did want the person there.  Then again if quizzes are public, I guess I could just allow any test to be taken...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.