Cookies enabled. (If you are interested in if your users have just Cookies enabled (or disabled), check out
this ASPMessageboard post: Checking for Cookies.)
function on the
ONLOAD page event, altering the value of this HIDDEN form field. That way, if
To get started, first we'll need to place a HIDDEN field in our HTML, which we'll use to determine whether or
<form> ... </form> tags.
(This FORM could also contain a username/password if you require that sort of information for someone to
login to your site.)
cc() function will not change the value of the HIDDEN field. The code for the
function is rather simple.
and, therefore, before the
be placed in the HEAD section of your HTML page.
disabled we can't really tell if Cookies are enabled or not. However, since I only let the user login if
So what you can do is, when the form is submitted, check to see if the HIDDEN field
false. If it equals