Although javascript has been around for years, it has recently been under fire due to security risks in using this method. Web pages can use javascript to personalize the web site: displaying your name, recording preferences for future visits, and advertising items you have shown an interest in. The web site sends these instructions to your computer which does all the work to display the web page based on information stored on your computer. Some people may be troubled by the access these client-side scripts have to personal information or to the operating system on your computer.
At Redline Web Designs we recommend the use of server-side scripts. These instructions provide the same dynamic viewing experience to your web site without the security risk. That is because server-side scripts are executed by the web server when the visitor requests a document. There are several other advantages to this method: the script's source code cannot be seen like client-side script code preventing theft; the script will produce the same output regardless of the client's browser, operating system, or other system details which cannot be controlled by client-side script; and the script will always run, unlike client-side scripts that can be blocked by security programs.