Detect if cookies are enabledTag(s): Varia
<SCRIPT LANGUAGE="JAVASCRIPT"> <!-- var tmpcookie = new Date(); chkcookie = (tmpcookie.getTime() + ''); document.cookie = "chkcookie=" + chkcookie + "; path=/"; if (document.cookie.indexOf(chkcookie,0) < 0) { window.location = 'nocookies.html'; } else { window.location = 'cookies.html'; } //--> </SCRIPT>
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com