View Single Post
  #2 (permalink)  
Old November 5th, 2008, 11:45 AM
alanphil alanphil is offline
Registered User
Join Date: Nov 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Found the problem -- in the Welcome controller you need to make sure that you have "session_start();". I think this is an oversight in the book. When the author has the reader originally create the Welcome controller there is no need at that point to discuss sessions. Later, in chapter 6 (page 149) when he creates stubs for the admin controllers there really should be a note to add the "session_start();" line to the Welcome controller.

Maybe this is one of the "learning lessons" you get from working through all of the code in the book! :D


Reply With Quote