<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<HTML><HEAD><TITLE>My Page</TITLE></HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
function cookiesEnabled() {
document.cookie = "temp=test";
offset = -1;
if(document.cookie.length > 0) {
offset = document.cookie.indexOf("temp=");
}
if (offset == -1) {
return false;
}
else {
document.cookie = "temp=test; expires=Thu, 01-Jan-70 00:00:01 GMT";
return true;
}
.
function WarnCookies() {
if (!cookiesEnabled()) {
document.write("<CENTER><TABLE><TR BGCOLOR=#ffff00>\n");
document.write("<TD><B>Note: this site uses browser \"cookies\" to
remember your information\n");
document.write("from visit to visit. I just tried to set a cookie,
and it was not stored. Please\n");
document.write("set your browser to enable
cookies.</TD></TR></TABLE></CENTER>");
}
.
// -->
</SCRIPT>
<BODY>
<FONT COLOR=#FFFFFF><SCRIPT Language="JavaScript"> WarnCookies()
</SCRIPT></FONT>
</body>
</html>
¿Sabeis por que no va?