Quote:
Originally Posted by loyo View Post
cookie will expire in a period which is specify in setcookie().
also you can save the REMOTE_ADDR to a file in your server, you can modify my code simply to achieve it.
Yes I know i can set the cookie to never expire but that is irrelevant if the cookie is erased.

I understand what you are saying but I tried to save the REMOTE_ADDR to a file on my server and it is not working. If i could get it working then a cookie would be overkill really and not needed.

please see the example script I posted if you have time.
thank you!