Archive for September, 2006

ColdFusion MX 7: Missing images with cfdocument

(TechNote) Images in files created with cfdocument may sometimes be replaced with a red X.

Displaying images using Flash Forms and FireFox

(TechNote) An image on a cfform with format=”flash” may not always display when requested by Mozilla FireFox. This problem does not occur with Microsoft Internet Explorer.

JRun 4 Updater 6: Hot fix for remote transactions

(Hot fix) JRun Remote transactions did not function properly with remote client.

JRun 4 Updater 6: Browsing a clustered Instance on restart causes “500 Server” error

(Hot fix) When browsing a cluster while an instance is starting, the server throws a “500 Server error Service Temporarily Unavailable” message in the browser window until the instance has fully started.

JRun 4 Updater 6: Hot fix for lost query string parameters under heavy load

(Hot fix) JRun may lose query string parameters from the same URL under heavy load if request.setCharacterEncoding() is called before getting the parameters.

JRun 4 Updater 6: Hot fix for connector returning a blank page when JRun server is stopped

(Hot fix) JRun connector returns a blank page for a JSP request when the JRun server is stopped.

Flash content displays on top of all DHTML layers

(TechNote – update) A Flash movie in a layer on a DHTML page containing several layers may display above all the layers, regardless of the stacking order (“z-index”) of those layers.

By default, browsers place embedded plug-in content, such as a Flash movie or Java applet, on the topmost layer. In older browsers attempts to place a DHTML layer on top of a Flash layer would fail. Newer browsers add the ability to layer Flash content with DHTML content and in some cases the ability to use transparent backgrounds in the Flash content.

When saving files Dreamweaver always shows the Save As Template prompt

(TechNote) When you try to save a non-template file (for example, a .html file), Dreamweaver always shows the Save As Template dialog box.

This usually means that your non-template file contains Dreamweaver template markup tags. This can occur if you saved a template file (a .dwt file) as a .htm file (or .php, .asp, etc.). This is not the correct way to create a new page from a template.

Protecting ASP JavaScript server behaviors from SQL injection vulnerability

(TechNote) Some databases let you send multiple SQL statements in a single query. Because of this, there are potential security risks when you pass parameters in a query string to a dynamically generated database query. Hackers might try to modify URL or form variables in a dynamic query by appending malicious SQL statements to existing parameters. This is often referred to as a SQL injection attack. Some of the server behavior code created by Dreamweaver should be modified to reduce the risk of SQL injection attacks. For more background information on SQL injection, see this Wikipedia article.

Debugging JSP pages

(TechNote) Debugging Methods
There are several different approaches to choose from when debugging JSP pages. For example, the error.jsp page can be used to capture runtime exceptions. However, other methods of debugging are also available. In some cases, a different strategy may prove to be more useful.