Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Pls some one tell that how we define that only 4 or 5 users can access website in web.config file. and how we can increase or decrease the numbers of users to access the website,pls some one tell.....
Posted

You want to limit concurrent access?

XML
<system.net>
    <connectionManagement>
        <add address="*" maxconnection="48" />
    </connectionManagement>
</system.net>


But be aware, that many browsers use multiple concurrent connections to download contents for the same page.
 
Share this answer
 
Hi,

First what do you mean by Users.??

you can provide login to your users, if users are predefined(sign up form can be admin or client side), so that you can manage your users with any limit.

& for anonymous user limit is not good solution for any website , its solution given above ans.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900