FormField
|
+--TextField
|
+--HiddenField
|
+--SessionVerificationField
public class SessionVerificationField
extends HiddenField
Constructor Summary | |
---|---|
Constructs a new SessionVerificationField. |
|
Constructs a new SessionVerificationField. |
Method Summary | |
---|---|
boolean | isValid() Checks for field errors detected by this field, including a check for blank. |
Methods inherited from FORMfields.fields.HiddenField | |
---|---|
getEditableFieldTag |
Methods inherited from FORMfields.fields.TextField | |
---|---|
getEditableFieldTag, isValid |
public SessionVerificationField()
Constructs a new SessionVerificationField.
public __construct()
Constructs a new SessionVerificationField.
public boolean isValid()
Checks for field errors detected by this field, including a check for blank. This method ensures that the user is using sessions, something that most spam bots don't. If an error is detected, the setError() method is called to set the appropriate error message.
SessionVerificationField is a spam deterrent field that requires a client to utilize sessions. Please note that even sessions require at least minimal use of browser side cookies.