how to get last login timestamp from database in mvc using stored procedure and api | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

how to get last login timestamp from database in mvc using stored procedure and api

how to get last login timestamp from database in mvc using stored procedure and api

1st Aug 2017, 7:36 AM
Pratish Kadam
Pratish Kadam - avatar
2 ответов
+ 1
When someone loggs in, upload that date/time into the database. when he loggs in the next time, first print out the previous date into a session variable (so he can see it untill he loggs out) and then update the database with the new time.
13th Aug 2017, 2:48 AM
Jean-louis du Plessis
Jean-louis du Plessis - avatar
0
Thank you.
15th Aug 2017, 11:42 AM
Pratish Kadam
Pratish Kadam - avatar