Click here to Skip to main content
12,406,342 members (28,913 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET4
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160730.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2016
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