Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
C#
Hello,

  I implement one website where multiple user can login at a time from different location. now i am testing it on my localhost iis server. i run the project it will appear in new tab. then i stop it and run second time. without closing previous tab on google chrome. then i click on first tab as project is in running mode then website is active by running project first time will get active, in both tab both are work fine. now i intentionally perform action that cause exception so it is make running project goes into debug mode(as it have to) and my website in seconf tab also get affected obviously. now my question is website is running same but in different tab and one cause termination  also affect other as project get stop running. so my question is when I host the website if one user make something which cause website stop will also affect the  other user. or different instances are created for different user or session after hosting website. I am hosting my website first time do not aware what care should to take please guide on this topic which care should i take. and also give answer of my question.
please mention also what changes are there means from localhost iis to hosting on server.

thank you.


What I have tried:

Hello,

I implement one website where multiple user can login at a time from different location. now i am testing it on my localhost iis server. i run the project it will appear in new tab. then i stop it and run second time. without closing previous tab on google chrome. then i click on first tab as project is in running mode then website is active by running project first time will get active, in both tab both are work fine. now i intentionally perform action that cause exception so it is make running project goes into debug mode(as it have to) and my website in seconf tab also get affected obviously. now my question is website is running same but in different tab and one cause termination also affect other as project get stop running. so my question is when I host the website if one user make something which cause website stop will also affect the other user. or different instances are created for different user or session after hosting website. I am hosting my website first time do not aware what care should to take please guide on this topic which care should i take. and also give answer of my question.
please mention also what changes are there means from localhost iis to hosting on server.

thank you.
Posted
Updated 3-May-16 10:17am

1 solution

It is very hard to understand what you wrote. However, this block I understand enough to answer.
Quote:
when I host the website if one user make something which cause website stop will also affect the other user. or different instances are created for different user or session after hosting website
If the website crashes then all of your sessions will be lost, unless you are using a different mode of session than the default. See Session-State Modes[^]

If a user's browser crashes and not IIS then only that user is affected. In fact, their session will still be active on the server because the server has no idea that the client crashed.

It all depends on how you setup IIS.
 
Share this answer
 
Comments
Kishor-KW 3-May-16 19:41pm    
Reply Modify the comment. Delete the comment.
thank you for replay...ok take one example. one bug remain into the website. it is hosted and multiple user are
accessing it. if one user action encounter the action which is bug then exception will occurred then in this scenario what will happend that user get affected only all all users who are login there will get affected.

As per your answer i think all user get hamper
ZurdoDev 4-May-16 7:21am    
Depends on the exception. Usually an exception will only affect your one user. If it somehow crashes IIS then you have a problem.
Kishor-KW 4-May-16 18:09pm    
ok thank you

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