阅读背景:

“记住我”功能的最佳实践?

来源:互联网 

As part of a larger project I'm working on, we're looking to integrate a 'remember me' function in the user login process. One suggestion from the lead developer was to simply store their PHP session_id() in a cookie and in their record within the database. When they next visit the site, look up the session_id from the cookie and retrieve their credentials.As part of a larger project I'm working on, we'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: