We are required to control the number of users accessing our website. Recently, we observed some exceptions thrown about the following codes (in the page on load event):