Reputation: 11746
I'm opening up a feature on my site that will not require a user to create a profile. I need to create and track user ids so I'm curious what others use as an indentifier for guest accounts. Here are some of my thoughts:
Just curious if anyone else has done the same and what they used.
Upvotes: 1
Views: 185
Reputation: 19492
These days user don`t like to register over and over again. More and more of the data over internet is going to the cloud. Rob W suggests openid some info about the openids on wikipedia. Why not use facebook, google accaunt. There are other solutions - more or less what you need - gravatar, disqus these are more "comment oriented".
Upvotes: 0
Reputation: 119
is regular php session inefficient? you can add to it anything just to complicate the structure, but anyway it'll be always exploitable, so I would keep it as simple as possible - use session ;)
Upvotes: -1
Reputation: 9029
Use cookies. But, anyway, it's exploitable.
Don't use IP, as the IP can change very often. And, in cookies, assing an unique ID, as you marked in your question.
Upvotes: 3