Learn How a Virtual Networking Approach Can Strengthen the Security of Federal Networks REGISTER >
As part of preparations for the final release of the service pack, Microsoft is again urging Web developers to closely examine the XP changes and make the necessary code modifications to minimize disruptions.
The software giant released a document, titled How to Make Your Web Site Work with Windows XP Service Pack 2, that spells out the code tweaks needed to deal with SP2.
For instance, Web sites using ActiveX controls will run into problems because of the changes made to the Internet Explorer (IE) browser to block those controls in some cases. Microsoft recommends that site owners make sure that all ActiveX controls distributed through a Web site are signed and have up-to-date signatures.
For sites that automatically redirect a page based on whether an ActiveX control was instantiated, Microsoft recommends the placement of a span within object tags detailing that the page could not load.
''If your site does not do this, the user will be moved to the new page after the Information Bar blocks your control, and will not be given a chance to install the control.''
For sites that initiate file downloads that are not initiated by the user, Microsoft said XP SP2 will block those downloads or display a dialog box asking for user initiation. The company is urging Web site owners to make all downloads the result of user-initiated action.
The company said Web sites that contain file types with mismatched Content-Type and/or file extension must be corrected.
''Both the Content-Type and the file extension must match the type of the file for a download prompt to appear. Be sure this is true for your Web pages as well. If the Content-Type is plain/text, then they will not render as HTML,'' the company explained.
Because SP2 has been fitted with a default pop-up blocker, Microsoft said sites that use the window.createPopup() method will encounter disruptions.
For Web sites that depend on the Microsoft Java Virtual Machine (MSJVM), the company is recommending that developers review their code to deal with changes in the service pack. Microsoft also released tutorials for the required code changes.