Welcome Guest, Not a member yet? Register   Sign In
Internet Explorer 7 + Ajax + Session Destroy = Broke?
#1

[eluser]Steven_W[/eluser]
I have a logout link that uses jquery to load the logout page with $.get. This works with firefox, ie8, and chrome. When I put ie8 in ie7 mode, the session isnt destroyed using $.get. However if I go to www.mysite.com/logout, the session is destroyed. Any help would be appreciated


jquery
Code:
$.get('/logout');


logout.php controller
Code:
function index()
{
   $this->load->library('session');
   $this->session->sess_destroy();
}

config
Code:
$config['sess_cookie_name']        = 'ec_session';
$config['sess_expiration']        = 7200;
$config['sess_encrypt_cookie']    = TRUE;
$config['sess_use_database']    = FALSE;
$config['sess_table_name']        = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = FALSE;
$config['sess_time_to_update']     = 300;

$config['cookie_prefix']    = "";
$config['cookie_domain']    = "";
$config['cookie_path']        = "/";


Messages In This Thread
Internet Explorer 7 + Ajax + Session Destroy = Broke? - by El Forum - 05-21-2009, 08:33 AM
Internet Explorer 7 + Ajax + Session Destroy = Broke? - by El Forum - 05-21-2009, 04:37 PM
Internet Explorer 7 + Ajax + Session Destroy = Broke? - by El Forum - 05-22-2009, 08:20 AM
Internet Explorer 7 + Ajax + Session Destroy = Broke? - by El Forum - 05-22-2009, 08:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB