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

In my logout controller i receive this error:
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:
class Logout extends MY_Controller
    function index()

Is that the only output you get?

output started at /home/xxx/xxx/xxx/system/libraries/Exceptions.php:166 indicates you have a PHP error that the Exceptions class was about to echo, it is that output that is triggering the warning.

Theme © iAndrew 2016 - Forum software by © MyBB