Forum Moderators: open
There are a ton of scripts out there but didn't know if anyone had one they knew worked (along with an explanation of the elements and what they mean) that I could make some changes to. Thanks
Here's a real quick example using javascript:
<script type="text/javascript">
<!--
if(document.cookie == "visited=yes") {
alert("You have been here!");
} else {
document.cookie = "visited=yes";
alert("This is your first time here!");
}
// -->
</script>
There is absolutely no correct justification for this at all! Testing Konquerer will lure you in to a false sense of security as it does not suffer from this handicap. I do not know if they were intelligent enough to fix this issue in the latest version that ships with the latest version of OS X.
*Edit* I would highly recommend setting the cookie via serverside scripting as those cookies are accepted.
- John
[edited by: JAB_Creations at 11:22 pm (utc) on Oct. 26, 2006]