Welcome Guest, Not a member yet? Register   Sign In
CI 1.7.2 Session destroy problem at Firefox 7.0.1


The problem is with the sess_destroy().
On Firefox 4.0 it worked fine, but with the new version of Firefox 7.0.1 and IE 9 it isn't destroing the session.

I have a function in class 'logowanie' that logout a user:

function wyloguj() {
        if ($this->session->userdata('logged_in') == FALSE) {
            redirect('logowanie/zaloguj', 'refresh');
        } else {
            redirect('logowanie/zaloguj', 'location', 301);

It shuold destroy the users session but it doesn't and redirect to login function 'logowanie/zaloguj'.

I'm using CodeIgniter 1.7.2, XAMPP 1.7.7, PHP: 5.3.8
On Google Chrome 14.0.835.202 everything works fine.

I noticed when I deleted the logout function 'wyloguj' from 'logowanie' class on Firefox 7.0.1 it is still redirecting me to login function 'logowanie/zaloguj'.:gulp:
On Chrome it popup the 404 Page Not Found Error.

I hope that is understandable ;-)
Best Regards CiuchY

Messages In This Thread
CI 1.7.2 Session destroy problem at Firefox 7.0.1 - by El Forum - 10-05-2011, 06:06 AM

Theme © iAndrew 2016 - Forum software by © MyBB