The MyInfo component creates a MyInfo object that keeps track of personal information, such as the site administrator's name, address, and display choices. Originally, the administrator typed this information directly into the Personal Web Server Web Site Wizard interface on older versions, and doing so created a formatted home page. However, you can set the values of the properties directly and retrieve them yourself to create your own home page.
After you change any of the MyInfo Component properties, the IIS Services may need to be restarted before the changes are written to MyInfo.xml.
MyInfo.dll | The MyInfo component. |
MyInfo.xml | The file that stores the values of the MyInfo properties. |
Create a MyInfo object once in the Global.asa file by adding the following lines to Global.asa:
<OBJECT
RUNAT=Server
SCOPE=Session
ID=MyInfoObject
PROGID="MSWC.MyInfo">
</OBJECT>
Important
Only create one MyInfo object on your site.
You can create a MyInfo object with
Set MyInfoObject = Server.CreateObject("MSWC.MyInfo")
but you run the risk of creating the object more than once. It is best to use the <OBJECT> syntax in Global.asa.