rhgiant — 2011-10-23T02:58:22-04:00 — #1
I'm going to need to store/retrieve data from users. It's typically a case where cookies could be used. But... Are $_COOKIES the best approach? Is there another type of technology (oAuth?) that could replace cookies?
anthonysterling — 2011-10-23T06:12:35-04:00 — #2
It would depend on the data involved, if the data is sensitive and should not be made available (for manipulation) even to the user then no, cookies would not be an option.
You could however store the data in a database and store a unique identifier for this data in a cookie; such as the id column.
cups — 2011-10-23T08:01:25-04:00 — #3
rhgiant — 2011-11-01T13:08:12-04:00 — #4
Is web storage reliable or should I need some kind of fallback for older browsers?