Scripting & Web Development Support

ASP
&
VB


 

Storing Personal Information in an XML File

CGI/Perl
ASP and VB
Java (JSP)
PHP

 

Description from: http://www.chilisoft.com/caspdoc/

Please note: although this component is available, Web Secure does NOT support it.  Should you have any queries, please contact Web Secure Technical Support.

Keeps track of personal information and stores it in an XML file.

The MyInfo component creates a MyInfo object that keeps track of personal information, such as the site administrator's name, address, and display choices. Typically, the administrator types this information directly into the Web server interface. However, you can set the values of the properties directly using a script in an ASP page.
 
Each property of a MyInfo object returns a string. If a MyInfo property has no value set, the property returns an empty string.
 
The Chili!Soft implementation does not implement the default properties available under the Windows NT.Personal Web Services.
 
You can create new MyInfo properties by simply assigning a string value to them. For example:

<%
MyInfo.DogName = "Snoopy"
MyInfo.DogBreed = "Beagle"
%>

creates the new properties DogName and DogBreed. These new properties are stored persistently along with the other MyInfo properties.
 
Create new MyInfo properties for values that remain consistent throughout a site.
 
The values of MyInfo properties are stored in a single text file, Myinfo.xml. The Chili!Soft implementation of the MyInfo control is compatible with the Myinfo.xml files produced by the Microsoft implementation.

The control makes use of no registry settings. 

The Counters Control is registered with the ProgId of "MSWC.MyInfo".
 
Create the MyInfo object one time by adding the following to the global.asa file:
 

<OBJECT
RUNAT=Server
SCOPE=Session note: could be Application too.
ID=MyInfo
PROGID="MSWC.MyInfo">
</OBJECT>

The MyInfo Control exposes the following properties and methods.

There are no methods.