Websydian v6.1 online documentationOnline documentation - Websydian v6.5

Change Function

The Change Event Handler function is included in the WebChangePasswordPage function.  The function receives as input the existing password, the new password and a confirmation of the new password.

The Change function validates that the string entered as the existing password equals the password stored in the database.  The function also validates that the new password entered equals the confirmation of the new password.

If the validation succeeds, the User record is updated with the new password.  The next page generator to be called must be specified in the Call next page edit point (e.g. a static page informing that the password has been changed).

If the validation fails, an Error Page is generated.

Inheritance