Welcome Guest, Not a member yet? Register   Sign In
Using cookie to track users
#7

(This post was last modified: 12-11-2015, 03:04 PM by solidcodes.)

(12-10-2015, 05:40 AM)Diederik Wrote: Tracking a visitor has nothing to do with authentication...

For simple statistics the easiest thing you could do is use a session and store each pageview in a database with a timestamp, session_id and current url. That way you can track how many pages an average user visists etc.
But you could just rely on some external statistics like Google analytics, Piwik etc.

Using authentication is the most complete and proper way.
Because session is on, ip is recorded etc...
No SEO spam
Reply


Messages In This Thread
Using cookie to track users - by Hamed - 12-10-2015, 12:12 AM
RE: Using cookie to track users - by solidcodes - 12-10-2015, 12:52 AM
RE: Using cookie to track users - by Hamed - 12-10-2015, 05:35 AM
RE: Using cookie to track users - by Diederik - 12-10-2015, 05:40 AM
RE: Using cookie to track users - by solidcodes - 12-11-2015, 03:01 PM
RE: Using cookie to track users - by Hamed - 12-11-2015, 08:57 AM
RE: Using cookie to track users - by cartalot - 12-11-2015, 12:53 PM
RE: Using cookie to track users - by scion - 12-13-2015, 05:29 AM
RE: Using cookie to track users - by Hamed - 12-18-2015, 12:44 PM
RE: Using cookie to track users - by Hamed - 12-20-2015, 08:09 AM
RE: Using cookie to track users - by Diederik - 12-20-2015, 12:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB