dcsimg
Login Scenario
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhijit_Patil
Posted On:   Wednesday, October 3, 2001 09:52 AM

I creating a login page, I wants to prevent the user yo enter same username and password from same pc or from different pc. I created a bean which save the user name in a hash table. But I wants to remove the user from hash table when he was not logged out. Please help me.

Re: Login Scenario

Posted By:   Andrew_Watson  
Posted On:   Thursday, October 11, 2001 10:12 AM

Create a session, place a unique user identifyer into the session. The session time-out can be configured in the servlet container (e.g. Tomcat).
Test for invalid or timed-out sessions every 1 min. Once found, get the unique user identifyer and remove from HashTable.



Hope This Helps.

Andrew
About | Sitemap | Contact