[Javascript] Re: Detect Cookies? (Slightly OT now)

queequeg_x at yahoo.com queequeg_x at yahoo.com
Fri Aug 17 10:36:55 CDT 2001


Thanks so much for all the responses! Incidentally, I found this 
script on another list. Is this a valid script to use to detect and 
then redirect? Many thanks in advance!

-rene
-------------------------
%@LANGUAGE="vbscript"%>
<% response.buffer="true" %>
<html><head>
<%
Set browser = Server.CreateObject("MSWC.BrowserType")
%>
<%
if browser.cookies = false then 
response.redirect "nocookies.asp"
else
response.redirect "region.asp"
end if
%>
</head><body></body>
</html>





More information about the Javascript mailing list