|
Posted by hughie on 12/27/06 20:56
Tim Van Wassenhove wrote:
> How would you define a user that is logged in? (Please take into
> consideration that http is stateless when you come up with a definition)
When a user enters a correct username and password then a session is
created for them. During the lifetime of that session I'm calling that
'logged in'.
> And how would that global session be shared over all servers that host
> your webapplication?
The app is only on one server. I realise that if it were distributed
then using the db for this is best. Can I assume your question is
partly rhetorical? I'm just trying to find out a good way to do it.
[Back to original message]
|