cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum number of users

Former Member
0 Kudos

Hi everyone,

It's possible to establish the maximum number of users that are using an application?, for example if we put that the max number is 1000, when the user 1001 treats to use the application, we want to send him a message, that he needs to wait

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182294
Active Contributor
0 Kudos

There is no inbuildt mechanism available. But you should write an external service (servlet or EJB) which maintains the count of users . And in your WebDynpro application use the life cycle methods to control the access.

Like in wdInit() you can check the current count of users and if its more than 1000 then you can display message otherwise show the view and increment count. In the same way in wdExit() call the service to decrease the count.

Regards

Abhilash