Hi ppl, I have the following questions:
1) I have just finished my ASP.net Portal Project and everything works ok. But I'm stuck ! what do I do next ? i.e. do Have to copy the .aspx files to some special folder or is there a deployment tool in VS.net?
2) I am expecting to have large number of visitors entering the portal and each sesion will query the database many time during the process. Is there a 'safe' limit of how many users can simultaiously use the site withugh creashing it and if yes, how can I prevent new users from assessing the site when the max number is reached ?
THANK YOU
PLAESE HELP !![]()
2) It's pretty simple to limit the amount of users. Just put code in your global.asax on the SessionStart and SessionEnd functions to hold who is using your system. Use a hash table with SessionID as the key. Make a function to check it to see if you are at your max and make sure you call it at the start of every page or just your login page if that is the entry point.
Hope that helps you get the ball rolling.
0 comments:
Post a Comment