|
Posted by xclarky on 02/01/06 22:47
Use sessions! You could either set a session as a static value and then
check whether it exists, if so do not allow the script to run,
basically a temporary (sessions, by default configuration, close on the
closure of all browser instances) spam solution OR create a session key
which contains the users last inputs, either the entire post array or
individual fields. You can thefore compare the form input with the
session data to determine if the data is duplicate. This concept will
only work if the session still exists of course.
Navigation:
[Reply to this message]
|