From: Jim B. <ji...@us...> - 2006-03-14 14:18:14
|
Good morning (GMT -5), I'm trying to follow the Mason books apprentice.perl.org example for login = and session management and I'm having and issue with 'syshandler'. The book alleges that a file called 'syshandler' will get called first, eve= n before autohandler and even when autohandler is not called. It says that= syshandler is the ideal place for setting up database handles and session = cookies and such. I've tried mimicking what the book does and it doesn't seem to recognize it= . Digging into the example from the book, it seems to hook it into the auto= handler with an inherit. Researching it on google either points to copies o= f the book on line or errors that its web crawlers has found, but no longer= exist. There is also no reference to it on masonhq.com's search engine or = documents. Is the syshandler something they made up or is it a real component of mason= ? How do I go about debugging it? I thought I might have had it working onc= e, but I can't get back there now and I'm wondering if something was cached= (I got the db connection working from one file first, then tried to distri= bute it).=20 Also, it seems like mason doesn't tell you when things fail, it tells you w= hen you try to use them next time and that fails... is that a fair characte= rzation? Jimbus --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/ |