I'm looking for a simple script that allows a page to be viewed only once from the users computer. I'm thinking something that drops a cookie, and doesn't load the page (alert box + redirect) if a cookie is already detected. As simple as it is I don't know javascript and I have tried making this using other resources but it doesn't work. Anyone know where I can find something like this.
that's probably the worst solution an infinite loop may cause the browser to crash, and that's not exacty what the user wants It's like you said: use a cookie. You will have to use a serversided language to get the ip of the user.