Imagine you have a form in which you use FCKEditor as an inline HTML editor. So, inside script tag you have this:
var oFCKeditor = new FCKeditor('body_html');
oFCKeditor.BasePath = "A_PATH_TO_FCKEDITOR";
oFCKeditor.ToolbarSet = "Basic";
oFCKeditor.Create();
As you know, this creates a textarea with id set to ‘body_html’ and make it look like an inline HTML editor.
Going forward, you would like to receive the HTML code that represents the content of this textarea, and that you want to do this in JavaScript. In order to do that you need to follow FCKEditor API, so do somethink like this:
FCKeditorAPI.GetInstance('body_html').GetHTML(true);
Maybe it’s obvious but it took my a while to find out how to do this…
I started getting this error when I accessed pages hosted on IIS installed on my machine (I’m running Windows XP):
The page cannot be displayed
There are too many people accessing the Web site at this time.
——————————————————————————–
Please try the following:
Click the Refresh button, or try again later.
Open the localhost home page, and then look for links to the information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services
——————————————————————————–
Technical Information (for support personnel)
Background:
This error can occur if the Web server is busy and cannot process your request due to heavy traffic.
More information:
Microsoft Support
The wierd thing was I was getting that error on Opera and IE, but everything was fine on Firefox.
Solution
My friend suggested the following:
- go to IIS Manager
- right click on ‘Default Web Site’ (under YOUR_MACHINE_NAME/Web Sites/) and choose properties
- change ‘Connection Timeout’ value to 10 seconds
- uncheck ‘HTTP Keep-Alives Enabled’
- save the changes