Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET4.0
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 18-Jan-13 2:00am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You want to limit concurrent access?
 
<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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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



Advertise | Privacy | Mobile
Web03 | 2.8.141022.2 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100