Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何检查用户之前登录和第二次登录?用户在早上签入他的时间,晚上他们签出时间。我们该怎么做?
您必须保留用户之前是否登录过的信息。更具体地说,您可以计算登录次数并将其写入文件或数据库。