|
|
|
|
|
by swiley
2107 days ago
|
|
I've written apps like this and have to wonder what on earth you're doing because this is very straight forward. Put a session id in a cookie and use a relation table to point at the tables owned by the user. This takes very little code. The alternative is managing a distributed database, half of which has to run in the browser. That actually sounds much harder (although not surprising for a startup.) If users are deleting first party cookies than it's their own fault. Tracking state on the website you've visited is the entire point of cookies. If the user throws their phone on the ground really hard your website also won't run on it. |
|
If your UI is a copy of the database why not just give the user a phpmyadmin login instead?