use Sessions (either Web server (Servlets & JSPs) ones or make your own with
a DB)
Since most DBs cache results to common querys, it may not be as expensive as
you think
HTH
Rifle
-----Original Message-----
From: Howard Lee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 5:13 PM
To: [EMAIL PROTECTED]
Subject: How do I allow only?
Hi guys,
How would you allow only one user at a time? I mean one user of the account,
so for example say john888 logged in, and another user of the same name,
john888, trys to log in and I want to block that user with a message saying
the user is already logged in. I thought about writing to the DB everytime a
user logs in, but it might be a bit too expensive. Any ideas? Using session
beans? Thank you very much guys.
howard
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".