Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Letting users try your web app before sign-up: sessions or temp db?

Tags:

php

mysql

session

I've seen a few instances now where web applications are letting try them out without you having to sign-up (though to save you need to of course).

example: try at http://minutedock.com/

I'm wondering about doing this for my own web app and the fundamental question is whether to store their info into sessions or into a temp user table?

The temp user table would allow logging and potentially be less of a hit on the server, correct?

Is there a best practice here?

like image 387
Mat Avatar asked Jun 18 '10 01:06

Mat


1 Answers

It should work exactly the same way the application usually works, with the only difference being that a flag like thisIsATrialUser is set. You shouldn't create two different ways to do things internally.

like image 98
deceze Avatar answered Oct 13 '22 12:10

deceze