how to limit the maximum no. of request to my website in asp.net c#?

Posted by Prabu_Spark under ASP.NET on 9/7/2013 | Points: 10 | Views : 987 | Status : [Member] | Replies : 2
Hi sir,
Tell me the steps to limit the maximum no. of request to my website in asp.net c#. Suppose if i set 100 person can access my website at the same time, if new user visit
my website it has to show "the server is temporarily busy please try again after a moment". Kindly give me the solution for this problem.



[Hint : I need to set only 100 online users to enter the website , if the 101th user enter the website it has to show error like "Server is busy". I need to avoid network
traffic for my website request]

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: Bandi on: 9/7/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
hi,
you can use connection pooling in asp .net
refer this link to set connection pooling
http://www.codeproject.com/Articles/46267/Connection-Pooling-in-ASP-NET

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bandi on: 9/7/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
hi,
you can use connection pooling in asp .net
refer this link to set connection pooling..
http://stackoverflow.com/questions/1645093/connection-pool-setting-of-sql-server-connection-string
http://stackoverflow.com/questions/12065989/tranaction-and-connection-pooling-in-asp-net

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response