CodeIgniter Forums

Full Version: redirect() returns blank page in live server but works in localhost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i think i have tried all the solution in stackoverflow&ci forum but still, i cant make it work. i have no problem storing sessions and if i manually type the url i dont encounter any problems at all but when using redirect() in live server it doesnt work at all . it returns blank page and i am still at the current page/url

 function __construct() {

        if($this->session->userdata('logged_in_admin')) { 

on autoload.php
$autoload['helper'] = array('url','pis');
PHP Code:

You don't use base_url() in a redirect.