, den 5. November 2008, 20:49:06 Uhr
Betreff: Re: session timeout and session id
How expensive do you think it will be to save and bring back the user object
from the database? I'm pretty sure that working with that information in
memory is faster and less expensive. Why not just staying wi
Or if you don't want to add anything to your DB, change the boolean in your
database to a string - any nulls are not signed in.
On Wed, Nov 5, 2008 at 2:06 PM, Igor Vaynberg <[EMAIL PROTECTED]>wrote:
> you keep the status in the database, so add a column with session id
> and when that session ex
you keep the status in the database, so add a column with session id
and when that session expires that is all you need to mark the user as
offline.
-igor
On Wed, Nov 5, 2008 at 11:31 AM, Arthur Leigh Allen
<[EMAIL PROTECTED]> wrote:
> Hello people!
>
> I know there are lots of threads with the s
How expensive do you think it will be to save and bring back the user object
from the database? I'm pretty sure that working with that information in
memory is faster and less expensive. Why not just staying with the Map
solution? I'm pretty sure it works.
cheers,
Bruno Borges
blog.brunoborges.com
Hello people!
I know there are lots of threads with the same issue but I couldn't find a
proper and well solved solution.
I have a web application with users to login and logout.
If a user logs in the user object is hold in the session.
If the user logs out by using the logout button, the online