New stuff for me...
I want to use the B4X server approach (instead of PHP) for setting up a small website. I am creating a login-page and a registration form to query and/or save users in a MySQL database (running on the same VPS as the jServer).
I have two questions in this regard:
1) Would it be better to use jRDC2 as a middleware when communicating with the database?
2) When a user has logged in, how to do I check that the user is still logged in? Do I trace the user by using a cookie? Is there any example available how to handle a user when logged in on a site?
Many thanks.
I want to use the B4X server approach (instead of PHP) for setting up a small website. I am creating a login-page and a registration form to query and/or save users in a MySQL database (running on the same VPS as the jServer).
I have two questions in this regard:
1) Would it be better to use jRDC2 as a middleware when communicating with the database?
2) When a user has logged in, how to do I check that the user is still logged in? Do I trace the user by using a cookie? Is there any example available how to handle a user when logged in on a site?
Many thanks.