Persistent logins implemented

June 26, 2007 01:55, contributed by: seagull

Dmitri and I implemented persistent logins in the bugfix branch, svn up to get latest code, this will go in the next 0.6.3 public release. We also added some maintainability features:

  • ability to delete all persistent logins from db (in my account section)
  • ability to remove expired persistent logins for admins (in user section)
The code is completely BC inasmuch as if you don't enable the config option (under 'cookie' in the Config screen), your existing sites will run as before with latest code. The feature does, however, require a new table to work, so if you enable it, please create the user_cookie table, the definition is in modules/user/data/schema.my.sql.

[back to list]

comments


be the first to leave a comment
Enter your comment Note: Comments must be approved before being displayed.
   ###     #####   #######   #####  
  #   #   #     #  #        #     # 
 #     #        #  #        #     # 
 #     #   #####   ######    #####  
 #     #        #        #  #     # 
  #   #   #     #  #     #  #     # 
   ###     #####    #####    #####  
 

At a Glance

Sponsors

Login

Username Password

Not Registered?
Forgot Your Password

*denotes required field

Community

 
Seagull PHP Framework Seagull PHP Framework

Sponsored by

The Seagull project is sponsored by Seagull Systems, see the range of products offered.

Readers