My own LOGON in Forms 4.5

From: <stesson>
Date: 1997/10/03
Message-ID: <6128gc$fnn_at_drn.zippo.com>#1/1


[Quoted] I'm building my own login-system and I use a "init-user" (and password) to [Quoted] login to the first screen. I do this because I want to force the users to change their password in given intervals and this is managed by the "init-user" (there are other reasons also to handle my own logins but that [Quoted] is not described here).

This is the procedure:

  1. Login as "init-user" and enter the first (login-) form: f45run32.exe <form> <init-user>
  2. Show the logon-window (my own) where the user enters his system username/password
  3. The "init-user" checks in a table if the user should change his password this time e t c
  4. If everything is ok then logout the init-user and try to logon on with [Quoted] the given system username/password.

Now, the problem: If the user enters the WRONG system password then I do not know this until after trying to logon (CONNECT failes). I have to try calling LOGON and then handle the error. The problem is that Forms shows the Forms Login Screen if logon failes and I do not want that. So, I tried [Quoted] to put code in the ON-LOGON-trigger but then I get problem since this replaces the original login procedure (the init-user login also).

Has anyone done this ?

/Stefan
email: nil_at_exallon.se Received on Fri Oct 03 1997 - 00:00:00 CEST

Original text of this message