View Single Post
  #2 (permalink)  
Old November 6th, 2009, 09:54 AM
myerman myerman is offline
Wrox Author
 
Join Date: May 2008
Location: Austin, TX, USA.
Posts: 53
Thanks: 0
Thanked 5 Times in 5 Posts
Default this was another last-minute thing

Your dashboard controller should start like this:

Code:
class Dashboard extends Controller {
  function Dashboard(){
    parent::Controller();
    session_start();
    
	if (isset($_SESSION['userid']) && $_SESSION['userid'] < 1){
    	redirect('welcome/verify','refresh');
    }
  }
what is your email address so I can send you the ZIP archive I have?
__________________
Thomas Myer
Author, Professional CodeIgniter
http://www.tripledogs.com