Web User Manager Reuse
The Web User Manager application was developed with ASP scripts using DAFTools 3.5x. All scripts can be executed alone or adapted for custom purpose.
Scripts available:
| Adduser.asp | Create a new Web user |
| Modifyuser.asp | Modify an existing Web user |
| Finduser.asp | Find a Web user |
| Removeuser.asp | Remove a Web user |
| LevelLogin.asp | Log in a Security Level |
| LevelLogOff.asp | Log off a Security Level |
| SetLevelPassword2.asp | Change password for Security Level 3 |
| Adminlogin.asp | Log in a Main Administrator |
| AdminLogOff.asp | Log off a Main Administrator |
| SetLevelPassword.asp | Set a password for Security Level 3 |
| SetMainPassword.asp | Change main administrator login and password |
| DBlist.asp | Display all installed DAF databases |
| IPlist.asp | Display all IP addresses attached to a DAF database |
Copy file
DAFCOMMON.INC
All Web User Manager scripts need the include file DAFCOMMON.INC. This file MUST be
located in the same directory as the ASP script to be executed. In other words, if you
wish to run adduser.asp alone, you have to copy DAFCOMMON.INC into its directory.
To Log In an Administrator
If a script requires to be logged, two solutions are available:
1. Execute before a login script: AdminLogin.asp or LevelLogin.asp
2. Add to the beginning of the script a Login DAFTools method:
if DafTools.LevelLogin(DBName,"Level3",PASS) = FALSE then 'Error, probably wrong password end if
if DafTools.MainAdminLogin(LOGIN,PASS)=FALSE then 'Error, probably wrong password end if
Last update: Friday, April 02, 1999 08:16