No Cookies No Enter

liunx

Guest
Hi<br />
<br />
How can i prevent users from entering my site unless they have cookies enabled?? I have seen code that will warn users but nothing that will warn and prevent.<br />
<br />
Thanks in advance<br />
<br />
John<!--content--><script><br />
if (!document.cookies){<br />
alert("you are NOT wanted here");<br />
window.location.href = <!-- m --><a class="postlink" href="http://www.htmlforums.com/archive/index.php/">http://www.htmlforums.com/archive/index.php/</a><!-- m -->"www.disney.com/";<br />
}<br />
</script><!--content-->scripts can be so mean :you are NOT wanted here<!--content-->
 
Back
Top