This AUP represents a major revision update. The new version number is v5.4. Build 449. A tremendous amount of work has been done especially with the WEB server. Many fixes, enhancements and new features are in this major revision update.
WCMAIL:
WCFILE
WCREPAIR
WCONLINE
WCSERVER
WEB SERVER
WCVIEW
WCSDK
C++:
BOOL UpdateUserEx(TUser &user, const char *oldpwd, const char *newpwd);
wcBasic:
Function UpdateUserEx(user as TUser oldpwd as string, newpwd as string) as Boolean
Return:
TRUE if the user record update was successful, otherwise FALSE. See GetLastError() for return code.
Remark:
UpdateUserEx() is a more secured method of changing the user record when the password needs to be changed, specifically for connected sessions where the old password is required as a "double check".
In the past, the UpdateUser() function was used to change the user password. UpdateUser() can still be used but it is "unsecured". As long as the user is logged in or the system is making the change, UpdateUser() will use the TUser.Password as the new password if the field was changed.
With UpdateUserEx(), the difference is that now you can pass the OLD password as a means of a double check. This allows developers to write applications where the OLD password is requested before making a new password change. You don't need to change the TUser.Password field when using UpdateUserEx(). The comparison is made with the provided old and new passwords with the server saved user account.
Note: UpdateUserEx() will also do a "UpdateUser()" so any other information stored in the user record is also saved.
WCBASIC/PLUS PACK
To use, add the following to your form:
<input type="hidden" name="template" value="mytemplate.htm">
This can also be entered into the config file as a line: template=mytemplate.htm
base64encode(in as string) as string
base64decode(in as string) as string
example:
dim test as string
test = base64encode("Shane Caraveo")
print "encoded: ";test
test = base64decode(test)
print "decoded: ";testThe results would look like:
encoded: U2hhbmUgQ2FyYXZlbw==
decoded: Shane Caraveo
ACTIVITY LOGS
WCFIRST
WCCORE
WCCONFIG
FINGER SERVICE
finger info@domain.com
finger info-bbs@domain.com
finger info-support@domain.com
finger info-products@domain.com
finger info-etc@domain.comThe way this works is you create files in the DATA\ directory:
data\finger-info.txt
data\finger-bbs.txt
data\finger-support.txt
data\finger-products.txt
data\finger-etc.txtBy default, finger info@domain.com will display a finger-info.txt file if available. To display any other file, you would use this syntax:
finger info-XXXX@domain.com
and then you would create the file data\finger-XXXX.txt
So in your FINGER-INFO.TXT we recommend that you introduce your system and explain how to use the info command to display any other information file or service you may have.
Example: Finger-info.txt
Welcome to Santronics Online!
To see other information files, type:
finger info-support@santronics.com to see support information.
finger info-products@santronics.com to see product information.
Thanks, Tech Support
END OF CHANGE HISTORY