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

[eluser]gh0st[/eluser]
[quote author="jdfwarrior" date="1234294705"]That would prob be my choice. Or specifically, I would prob use a session var, set it to the time of the last search, then upon each request for a search, use jquery, do the submission via ajax to whichever controller, check the time, if it passes, do the search, throw back the results, make visible via javascript/jquery, or if the time doesnt pass, throw back and error, and display.[/quote]

But what about a GET request?

In theory the session var, or token would always be the same if you keep pressing enter in the address bar?


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