Related to session management
1 posts in topic
Flat View  Flat View

Posted By:   s_g
Posted On:   Wednesday, June 12, 2002 09:28 AM

Hi All,
I am developing an application, which have licensing concepts. The application will have certain number of licenses for each company. and any user can login and go thru the application online. when another user tries to login, based on the no of licenses and active users, the new user should be allowed to login or not.

can any body suggest me how to do this.?
Thanks in advance.


Re: Related to session management

Posted By:   Bozidar_Dangubic  
Posted On:   Wednesday, June 12, 2002 09:40 AM

track the number of users that have active sessions. when they login, add user to the number of active users. if number is greater then number of licences, do not allow login. pretty simple. you will have to implement session listener so that you get notified as sessions expire so that you can remove users from the list of active ones.
About | Sitemap | Contact