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 ] 

LiveUser::init()

LiveUser::init() -- Tries to retrieve auth object from session.

Description

If this fails, the class attempts a login based on cookie or form information (depends on class settings). Returns true if a auth object was successfully retrieved or created. Otherwise, false is returned.

Parameter

string $handle

handle of the user trying to authenticate

string $passwd

password of the user trying to authenticate

boolean $logout

set to TRUE if user wants to logout

Return value

returns true if init process well, false otherwise

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Who's Online
Guest Users: 11
P. Cartwright
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