_locals.asp

What does this file do?

The _locals.asp file contains functions, subroutines, and information required by all scripts and pages within the administrative area (the sub folder) of 20/20 DataShed. It is a storage facility for source code that all administrative files and interfaces need access to.

Permissions and Security

Server

This file may inherit the permissions from its parent folder; but also requires that the IUSR_<localmachinename> (or equivalent) user account have NTFS permissions to read the file.

For comprehensive NTFS file and folder permission settings please see File/Folder Security (NTFS Permissions).

Internal

The contents of these files are available only to the files in the administrative area (the sub folder) of 20/20 DataShed and all such files are protected by username and password authentication through the 20/20 DataShed login console.

How to Maintain

This file does not require maintenance.

Included In (Files)

This file is made available to all ASP scripts in the administrative area (the sub folder) of 20/20 DataShed and its functionality is therefore available to every script and page in the product's sub folder. Specifically it is included (via SSI) in the following:

Inherits (Files)

The following files are included (via SSI) in _locals.asp:

Other Features

This file is filled with features that may be useful to you in managing or navigating the administrative area of 20/20 DataShed.

Activating Features of this File With a Querystring

Remember this file and its features are available to every page interface in the administrative area of 20/20 DataShed. Therefore the following information can be applied throughout the administrative pages of the product and the following querystring information can be passed to this file.

anyAdminPage.asp?pageInfoPanelsVisible=True (or False)
This option controls whether or not the "Page Info" (page-specific help text) is displayed on each page.
The default setting for this option is "False". This means that the text is not displayed on the page; instead the user has the ability to click on the "Page Info" link (in the top-right corner of the screen) and toggle the information on, then off.
If the message "True" is sent to the pageInfoPanelsVisible option, then all of the "Page Info" (page-specific help text) is displayed on each page as the user navigates through the pages. The user still has the ability to toggle the information: first off, then on again.
If the message "False" is sent to this option, then all of the "Page Info" (page-specific help text) is not displayed. The user still has the ability to toggle the information: first on, then off.
anyAdminPage.asp?pageOptionsPanelsVisible=True (or False)
This option is similar to the feature described and is specific to the "View Listings" and "View Users" pages. It controls whether or not the "Page Options" panel is displayed on those pages -- this panel provides options for the user to customize the table and columns as he/she pleases.
If the message "True" is sent to the pageOptionsPanelsVisible option, then the "Page Options" panel is displayed. The user then has the ability to toggle the information: first off, then on again.
If the message "False" is sent to the pageOptionsPanelsVisible option, then the "Page Options" panel is not displayed. The user then has the ability to toggle the information: first on, then off again.
anyAdminPage.asp?WriteAdminLanguageStrings=0 (or any number)
This querystring will force 20/20 DataShed to write the entire list of current "admin" language strings to the web page.
The number indicates which string to start at. For example, anyAdminPage.asp?WriteAdminLanguageStrings=0 will begin at zero and write all the "admin" strings to the page; while anyAdminPage.asp?WriteAdminLanguageStrings=190 will begin at string #190 and continue through to the last one.
This querystring may be very helpful when translating the product or testing your translation.

How to Customize

This file cannot be customized. However, if "parent paths" are disabled on your web site then a slight modification is required. Instructions are available here.

Warning

If you must access this file using another product or software, then do so at your own risk; such activity is not supported by our license agreement and may void 20/20 Application's technical support obligations.

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.