Re: My own LOGON in Forms 4.5

From: Jomarlen <jomarlen_at_aol.com>
Date: 1997/10/03
Message-ID: <19971003164301.MAA27492_at_ladder01.news.aol.com>#1/1


When you call the built in login()
set the last parameter to FALSE

Login(usernae,password,connect_string,FALSE);

This stops the default login appearing.

John>Subject: My own LOGON in Forms 4.5
>From: stesson
>Date: Fri, Oct 3, 1997 03:57 EDT
>Message-id: <6128gc$fnn_at_drn.zippo.com>
>
>
>I'm building my own login-system and I use a "init-user" (and password) to
>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
>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
>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
>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