fflandrath53
New Member
- Messages
- 42
- Reaction score
- 0
- Points
- 0
Hello everyone,
Over the last few days I've noticed that sessions seem to be dropping and logging users out in shorter and shorter amounts of time? I have not made any changes to my script (see code below) at greenfloyd.org
Prior to this, sessions would last indefinitely, or until a user logs out, or is inactive until the garbage collector runs.
/_roller.session.php
TIA Floyd...
Over the last few days I've noticed that sessions seem to be dropping and logging users out in shorter and shorter amounts of time? I have not made any changes to my script (see code below) at greenfloyd.org
Prior to this, sessions would last indefinitely, or until a user logs out, or is inactive until the garbage collector runs.
Code:
require "./includes/_roller.session.php";
session_start();
$_SESSION['IP']="";
$_SESSION['proxy']="";
$_SESSION['host']="";
/_roller.session.php
Code:
<?php
session_save_path("/home/floyd/public_html/tmp");
ini_set("session.gc_maxlifetime", 86400);
ini_set("session.gc_probability", 1);
ini_set("session.gc_divisor",200);
ini_set("session.bug_compat_warn", off);
?>
TIA Floyd...