Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

Class Summary LiveUser

Class Summary LiveUser -- Class LiveUser - Login handling class

Class LiveUser - Login handling class

Description: This is a manager class for a user login system using the LiveUser class. It creates a LiveUser object, takes care of the whole login process and stores the LiveUser object in a session.

You can also configure this class to try to connect to more than one server that can store user information - each server requiring a different backend class. This way you can for example create a login system for a live website that first queries the local database and if the requested user is not found, it tries to find im in your company's LDAP server. That way you don't have to create lots of user accounts for your employees so that they can access closed sections of your website - everyone can use his existing account.

NOTE: No browser output may be made before using this class, because it will try to send HTTP headers such as cookies and redirects.

Requirements:

  • Should run on PHP version 4.1.0 or higher, tested only from 4.2.1 onwards

Thanks to: Bjoern Schotte, Kristian Koehntopp, Antonio Guerra

Class Trees for LiveUser

  • LiveUser

Who's Online
Guest Users: 8
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General