Welcome Guest, Not a member yet? Register   Sign In
Session problem
#1

[eluser]MWebber[/eluser]
Hi,
In my logout controller i receive this error:
Code:
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/xxx/xxx/xxx/system/libraries/Exceptions.php:166)

Filename: libraries/Session.php

Line Number: 662

i receive it when i execute the sess_destroy. is this bug or the problem is in my application
(i have checked all files for white spaces).

logout controller:
Code:
<?php
class Logout extends MY_Controller
{
    function index()
    {
        $this->session->sess_destroy();
    }
}


Messages In This Thread
Session problem - by El Forum - 09-12-2010, 10:06 AM
Session problem - by El Forum - 09-12-2010, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB