Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

mmmarcelo

Losing session on admin login

2 posts in this topic

We fixed the problem changing:

 

admin/includes/application_top.php

 

Replace:

// lets start our session
  tep_session_start();
 
With:
  @ini_set('session.use_only_cookies', (SESSION_FORCE_COOKIE_USE == 'True') ? 1 : 0);
 
// lets start our session
  tep_session_start();
 
  if ( (PHP_VERSION >= 4.3) && function_exists('ini_get') && (ini_get('register_globals') == false) ) {
    extract($_SESSION, EXTR_OVERWRITE+EXTR_REFS);
  }
 

Share this post


Link to post
Share on other sites