Forum Moderators: coopster
first of all, this site (http://www.phpfreaks.com/tutorials/41/0.php) says:
-"Cookies are about 30% unreliable right now and it's getting worse every day"
-"PHP has a great set of functions that can achieve the same results of Cookies and more without storing information on the user's computer"
here's what I need to have:
A. run a little script when the user first arrives anywhere on my site, which then sets a little register to true if they meet certain conditions. this variable will be visible and set to true on every script they access on my site for the duration of THAT session. if they close the browser and then load up my site again later that day or month or whatever, this process should repeat.
B. identify when a user that has come to my site in the past returns at any time in the future (like you can do easily with traditional cookies).
1. how would I do both of these things in php?
2. is it true that cookies are only 30% reliable?
3. are your solutions in php 100% reliable?
However, if someone does return to the site, and does have a cookie that you set, you can be 99% sure that it's a return visitor.