On Mon, 2013-03-04 at 10:15 -0800, Angela Barone wrote:

> On Mar 4, 2013, at 9:56 AM, Ashley Sheridan wrote:
> > set a cookie with a long life and check for that, discounting visits when 
> > either are true
> 
> Hi Ash,
> 
>       I don't know anything about cookies.  It sounds complicated to me.  Is 
> there a simple way to set one?
> 
> Thanks,
> Angela


You can manually write a cookie on your machine, or use a special script
that only you visit that contains a setcookie() call (it only need be
set once). From there on, you can check the $_COOKIES super global for
the presence of your cookie. To test, visit the site with a different
browser (browsers won't share the cookies) and you'll see the visit
logged.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to