Wilson Mar bio photo

Wilson Mar

Hello!

Calendar YouTube Github

LinkedIn

A stand-alone sample app that can exhibit performance issues

US (English)   Norsk (Norwegian)   Español (Spanish)   Français (French)   Deutsch (German)   Italiano   Português   Estonian   اَلْعَرَبِيَّةُ (Egypt Arabic)   Napali   中文 (简体) Chinese (Simplified)   日本語 Japanese   한국어 Korean

Overview

# Name Description
1 MSO_Comments Add extra HTML form code to the page within HTML comments. The extra HTML code is ignored by the browsers, but it could pose a problem for parsers.
2 MSO_JSCalc Add additional JavaScript that will calculate the days in advance for the ticket purchase. It appears on the first Flight reservation page and will calculate the days in advance on the submission of the initial flight information form.
3 MSO_JSFormSubmit1 Set LOGIN form's action tag to an error page. When the user submits the form, a JavaScript routine will re-set the action tag and alter the hidden field flag. The login.pl (what the action tag is reset to by JavaScript) script checks to make sure the hidden field flag has been set.
4 MSO_JSFormSubmit2 Set RESERVATION form's action tag to an error page. When the user submits the form, a JavaScript routine will re-set the action tag and alter the hidden field flag. The reservation.pl (what the action tag is reset to by JavaScript) script checks to make sure the hidden field flag has been set.
5 MSO_JSVerify Set client-side verification of user data. This turns on verification of user data on the client side in the necessary spots during the signup and reservation processes.
6 MSO_JSWPages Generate HTML code on the client side instead of server side. In some cases, if there was some calculation done to create the HTML, there could problems discovering what the HTML actually is. Additionally, there is a form on this page...creating a bit of trouble when using web_submit_form().
7 MSO_Redirect Set redirects the user to a temporary .html file. Instead of the CGI output going to the user, it is saved into a temporary .html file. The user is then redirected to that .html file, in order to see the results.
8 MSO_Redirects Set this option to turn on some server side redirects. Instead of a CGI script returning HTML to display, the CGI script returns a new URL for the browser to go to.
9 MSO_SErrors Set probability (in percentages) of the server making an illegal function call. The CGI process then will crash, resulting in an 'Internal Server Error' generated by the Web server. This error provides no options for the user to continue with.
10 MSO_ServerErrorsProb Frequency (in percent) for the server process error: 50 is the default.
11 MSO_SLoad Set probability (in percentages) of the server simulating a load problem. Instead of the process crashing, an HTML page is generated that notifies the user of the problem. The user can choose to either try again (re-submit the same data over again) or to restart their reservation process.
12 MSO_ServerLoadProb Frequency (in percent) for the server load problem: 50 is the default.

Wait, there’s more. Click one of these …

This article is one of a series about tuning and performance: