I'm not a javascripter, so didn't know how easy this is.
A script in the body of a page:
<script language="JavaScript"><!--
if (document.cookie && document.cookie != ""){
}
else{
document.write("ALERT: Your browser is not accepting cookies. Turn them
on, bozo");
}
// -->
</script>
Or the same script in the head, and instead of document.write, change the
value of a form action to something like _function=nocookies and divert them
out of the application that way.
What started this was the need for a session tracker for an admin to see how
many active sessions and shopping carts were alive. The daily handful of
non-bot visitors with cookies off made a mess of it, spawning a session for
each click and creating lots of single item abandoned shopping carts. This
way, we can both put the people on notice, and keep those sessions from
being included in the session tracking.
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf