View Single Post
  #5 (permalink)  
Old November 7th, 2009, 03:44 AM
phpcoder101 phpcoder101 is offline
Authorized User
 
Join Date: Nov 2009
Posts: 26
Thanks: 3
Thanked 0 Times in 0 Posts
Default Me too.

I tested with FF and chrome.

I loged in and loged out.

Then when I click "Go Back" button, I can go to admin still.

It should ask to log in again.

I have the following codes in all the files in the admin folder as you suggested.

Code:
  
...
...
parent::Controller();
    session_start();
    
	if (isset($_SESSION['userid']) && $_SESSION['userid'] < 1){
    	redirect('welcome/verify','refresh');
    }