Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
445 views
in Plugins by

For a plugin i need to track an anonymous user over the pages he is navigating.

I would use the cookieid for this purpose:

$cookieid=qa_cookie_get();

 

However, I am not sure if the cookieid could not created twice for two different users (?!)

Should I also store the IP address to be on the safe side?

 

by
PS: I have just seen now that table qa_cookies is doing this: cookieid + createip. Just have to find the q2a-built-in-function if any...
by
If using ONLY cookieids I have to make sure that they always exist. And I have to make sure that there are always cookieids available. I have checked another production database: From 55 076 anonymous postings there have been 7 without cookieid. Kind of neglectable.

Please log in or register to answer this question.

...