Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 12:14 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Admin Control Session Time
PostPosted: Fri Nov 27, 2009 7:01 pm 
Offline

Joined: Tue Aug 19, 2008 3:49 pm
Posts: 184
Hi,

I could be wrong but the Admin Control Session Time seems to disconnect with no regard to activity on Sesame Street. It appears to be hard set for 60 minutes???

Kind Regards

Les


Top
 Profile  
 
 Post subject: Re: Admin Control Session Time
PostPosted: Sat Nov 28, 2009 5:00 pm 
Offline

Joined: Tue Aug 19, 2008 3:49 pm
Posts: 184
Hi,

If this has been covered beore, I am not finding it in searches of this forum or the trac.

It appears there is now a Control Session Time that is hard set in admin.defines.php without any regard to admin activity.

This has logged me off in the middle of doing tasks. Is the really suppose to work this way?

Can I increase the time by changing the 3600 values below (both of them) to a new value (say 10800)

Kind Regards,

Les

// Control Session Time
if (isset($_SESSION['startTime'])) {
$timeDiff = time() - $_SESSION['startTime'];


//destroy session
if ($timeDiff > 3600) { // 60 minutes
//echo "You've been logged in too long. ($timeDiff)";
$_SESSION = array();
session_destroy();
setcookie('PHPSESSID', '', time()-3600, '/', '', 0,0);
}
} else {
$_SESSION['startTime'] = time();
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group