Is there any setting or something that allows/disallows the same page to be loaded simultaneously in ASP.NET
Take the following piece of code.
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack == false)
{
System.Threading.Thread.Sleep(20000);
// etc.
Let's say, in Visual Studio, I set a breakpoint on the second line (if (Page.IsPostback...
). I load the page on the first tab in my browser, the breakpoint is hit straight away. So I press continue. Then I load the same page in another tab in the browser. This time, the breakpoint doesn't get hit for 20 seconds (i.e. after the first load has completed).
I'd have thought that both tabs would load as separate threads or something in parallel.
Should it be? If so, what can I look out for that might be forcing this kind of serialised page load?
I've inherited this project so I can't really tell if it's something someone else turned on / off.