Login problems RRS feed

  • Discussão Geral

  • Hello guys, im trying to make login with user permissions but i dont know how to do it  ,  i have 2 selects the first for username and password if they are correct it check the second select for type permission and if they are all correct it login but i dont know how to do it with sql connection
    sábado, 25 de março de 2017 10:11

Todas as Respostas

  • Hello,

    In SQL you must first create a table with 2 or more columns, and these fields have user ID, and permission levels ... or just a password field.

    In login, they load userlist in combobox, and in the button to Login enter a code to recover the password of the selected user. If it is the same, then Login, otherwise, do not log in.

    Permissions at levels are possible as well, but you must create methods and levels of authentication.



    domingo, 2 de abril de 2017 14:26