After you create a new Microsoft FrontPage web by using Session Variables or Application Variables initialized in the Global.asa file, the code in Global.asa may not run as expected. In this case, any variables defined in that file are not populated.
↑ Back to the top
This behavior occurs when the web is not configured as an application.
↑ Back to the top
To resolve this issue, use one of the following methods.
Method 1: Use FrontPage to Republish the Web on the Same Server
- Open the affected web in FrontPage 2000 by using HTTP (for example, http://myserver/myweb/).
- On the File menu, click Publish Web.
- In the Specify the location to publish your web to box, type the HTTP path to your server, followed by your web name, appended with the number 2 (for example, http://myserver/myweb2).
- When publishing is completed, click Web Settings on the Tools menu.
- On the General tab, in the Web Name box, append the web name with the number 3 (for example, myweb3).
- Click OK.
- On the File menu, click Close Web.
- On the File menu, click Open Web.
- In the Open Web dialog box, select the newly published web (for example, http://myserver/myweb2).
- When the web opens, click Web Settings on the Tools menu.
- Delete the number 2 from the web name (for example, change myweb2 to myweb).
- Click OK.
Method 2: Use the Microsoft Internet Information Services (IIS) Snap-in in the Microsoft Management Console
- Open the IIS snap-in in the MMC.
- Right-click the directory or virtual directory that contains the web that is not working.
- Click Properties on the shortcut menu.
- Select the Directory or Virtual Directory tab.
- Click the Create button.
- Click OK.
- Quit the MMC.
↑ Back to the top
The Global.asa file stores information about an IIS application, including information about the following items:
- Application events
- Session events
- Object declarations
- Type Library declarations
↑ Back to the top
For more information about application settings, see the "Configuring
Applications" topic in the Windows NT 4.0 Option Pack online
documentation, or the "Web Applications" section of the IIS 5.0 documentation.
↑ Back to the top