Page 2 of 2
Login Script to match Username/Password in MySQL database table
Posted: Mon Jan 25, 2016 6:51 pm
by Serhii Kulibaba
Could you check variable data on the success event?
Please add JS code below to get it's value:
console.log(JSON.stringify(data));
and provide us that value from the console (for two cases: user exists and doesn't exist)
Login Script to match Username/Password in MySQL database table
Posted: Wed Feb 03, 2016 8:07 pm
by Ed
Hello again,
Under Success Event, I would like to Map the sessionToken (under Service Response) to the userSessionToken (under Local Storage) but the sessionToken is not appearing under Service Response.
How can I get the MySQL database to return a sessionToken so I can map it with Local Storage? Thank you in advance.
Login Script to match Username/Password in MySQL database table
Posted: Thu Feb 04, 2016 11:26 am
by Serhii Kulibaba
It is impossible to create sessionToken with plain MySQL. It is a server's feature, so you have to do it with some server's scripts.
Login Script to match Username/Password in MySQL database table
Posted: Thu Feb 04, 2016 6:32 pm
by Ed
Thanks for the clarification Sergiy. Can you please provide some guidance as to where I can find this script and description of script and steps to take? The database is running on a Linux Server with Apache, PHP, mySQL, Perl. Thank you.
Login Script to match Username/Password in MySQL database table
Posted: Wed Feb 10, 2016 8:04 pm
by Ed
Hello,
Just following up on my question above. Thank you.
Login Script to match Username/Password in MySQL database table
Posted: Thu Feb 11, 2016 5:19 pm
by Illya Stepanov
This question is not related to Appery.io platform, please search online for appropriate solution.
Login Script to match Username/Password in MySQL database table
Posted: Mon Aug 22, 2016 5:23 pm
by Jeffry Reed
Hello Ed,
Did you figure out to how to authenticate on user/password in remote DB? If so, could you share the scripts and process?
thanks,
Jeff