Jump to content

Preventing Double Posting (of a form to a php script)


johnsmith153

Recommended Posts

I have looked at many ways to prevent double posting either intentionally or otherwise.

 

If it needs to be very secure I can do this easily.

 

However, just for standard message board posts, I am not sure what to do. Dont want to be checking the database for duplicate postings every time.

 

I dont want to use javascript or sessions / cookies etc. as I want it to work for all.

 

Any ideas?

Use sessions considering they'll be used anyway for logins most likely.  And anyone who doesn't have cookies on doesn't deserve to use the internet. =/  Nearly every site sets cookies for some reason or other today. I use sessions if I have to check for double posts.

Great thanks for the help.

 

I had already agreed to limit users who dont have cookies to not logging in (sites like Facebook and Bebo dont allow log in without cookies, so no problem for me)

 

I was hoping a non-cookie user could view everything, just suffer at log in.

 

I do allow one or two things to be uploaded without log in but you are right sessions is the best way, without any real change to user experience.

 

Most message boards clam up when you try to log in without cookies also!

Archived

This topic is now archived and is closed to further replies.

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