Welcome Guest, Not a member yet? Register   Sign In
Restrict form/search submissions once every X seconds
#10

[eluser]gh0st[/eluser]
Oh okay.

I nearly got mine working, but it was way too strict and it wasn't working correctly. I've abandoned it until a later time.

I think using this method works better with post and not get.

My idea was;

1. Form has a hidden randomly generated token
2. Search results checks the token against session
3. Search results generates a new token and puts this in the form, but not in the URLs, or session.
4. If the user presses SUBMIT, a new token is forced into session, but if the user clicks on a URL the token is the same.

My problem came with when you simply went to the URL and pressed enter loads of times, the token would never really change.

It doesn't matter, I've abandoned it until further notice.


Messages In This Thread
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 06:01 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 07:12 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 07:19 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 07:38 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 08:16 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 08:28 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-10-2009, 08:39 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-11-2009, 03:54 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-11-2009, 06:26 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-11-2009, 07:02 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-11-2009, 07:14 AM
Restrict form/search submissions once every X seconds - by El Forum - 02-11-2009, 09:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB