Grazie anticipatamente a tutti!!!

Moderatore: mod Generali
In effetti il timeout troppo breve della sessione Admin, con la contribution Admin Access with level, risulta spesso assai fastidioso.jesus2k ha scritto:Ho un problema, dopo un "tot" di minuti di inattività nella sezione admin vengo buttato fuori. Come faccio a prolungare questo periodo di tempo?
Grazie anticipatamente a tutti!!!
Codice: Seleziona tutto
if (STORE_SESSIONS == 'mysql') {
if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
$SESS_LIFE = 1440;
}
Codice: Seleziona tutto
if (STORE_SESSIONS == 'mysql') {
// if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) {
// $SESS_LIFE = 1440;
// }
$SESS_LIFE = MYSESSION_LIFETIME;
Codice: Seleziona tutto
INSERT INTO configuration VALUES ('', 'Session Lifetime', 'MYSESSION_LIFETIME', '3600', '
Quanto tempo in secondi puoi rimanere in ADMIN, senza attività, prima che sia richiesto il re-login.(NON SETTARE A ZERO! 3600 è un ora)', 15, 8, '2005-01-19 03:43:31', '2005-01-19 03:30:25', NULL, NULL);
Come vengono gestite le sessioni lato admin?skizo ha scritto:Boh non capisco ho settato il time ad almeno 4 ore di sessione aperta ma sembra che non sia cambiato nulla e mi butti fuori lo stesso.Qualche aiuto?
Sk
Le sessioni vengono salvate nel DB o no?skizo ha scritto:Praticamente sotto il menu sessions si vede:
Session Directory /tmp
Force Cookie Use True
Check SSL Session ID False
Check User Agent False
Check IP Address True
Prevent Spider Sessions True
Recreate Session True
Session Lifetime 14400
Session Lifetime 14400
Nel file configure lato admin (catalog/admin/include/configure.php)skizo ha scritto:Non so se vengono salvate nel DB.Come posso fare per saperlo?
Codice: Seleziona tutto
// Session handler - leave empty '' for default handler or set to 'mysql'
define('STORE_SESSIONS', 'mysql');
Codice: Seleziona tutto
// Session handler - leave empty '' for default handler or set to 'mysql'
define('STORE_SESSIONS', '');
Codice: Seleziona tutto
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'