OK, I've asked these questions in the thread for vB 3.0.x and got no answers, so I would post it here as well, since there are a few things that you guys may have seen and could save me the trouble. Here are my questions:
I would like to know how the "sessions" are handled. I have some questions here and I would appreciate if someone can answer them for me.
Let's assume two sites, A and B. With this hack, all user information is kept in the "user" table in database A.
A member of site A logs in Site B. Obviously, since the last login time is stored in the shared user table, the last login time entered in the table, will be common for both sites, correct? So if the member comes back after two days and logs-in in site A, the last login time will be the last login time from his visit in site B. That means that if the user asks to see the new posts since his last visit (for example), the posts shown to him will not be correct, he will miss the posts between the last time he visited site A and the time he visited site B. Am I correct on this? It is of course possible to alter the user table to have separate columns for these time parameters for site A and site B.
Another question: again, let's suppose that a member logs in site B, does some work there and then follows a link to site A. Will he still be logged in in site A or will he need to re-log in in the other site? In other words, how are cookies handled? And what difference will it make if someone uses the "Remember me" checkbox in one site?
|