How to create authentification form

Morning All,

I am a beginner in scriptcase using and i have some preoccupations who have not responses.
After 3days, i can work easyly in scriptace so now i would like how can i create login form to permit to user to connecte themselves in member area.
Is it possible to create redirection home page for each member (sales, direction, financial, …) ?

Thanks

Re: How to create authentification form

Yes, but first should take a look the macro sc_apl_status where you can turn on/off the application when using security. With this you prevent your application of someone trying to access the url directly.

To create a login, you need to have a table for the authentication, create two field (login, password)
on the event onValidateSuccess you need to execute a SQL an check if the login is ok, check the departament where the login belongs and use sc_apl_status to turn on the applications that the user have access and use sc_redir to redirect the user to a specific menu (sales, direction, financial, …) where the user belongs.

Re: How to create authentification form

Hi Diogo Toscano,
Sorry for my late response and my bad english (i speak french).
I am using control menu to create my authentification form and i choose my DB. I have already created my table operators and my fields login and password.
If i understood what you means, in the envent onValidateSucces, i write my own php script to manage the authentification. So if it is true, where can i take the differents variables used in my php scripts ? and if my process is true since the beginning, where can i see or create my authentification fields ?
i try, i try but i don’t have solutions to my problems.

I hope that you can understand what i meant

Re: How to create authentification form

Hi all !
OOOOOOOOOOOOOOOK !!! I succed to create my fields for my form authentication with just the link fields. Now I try my php script in the event OnValidateSuccess