asterisk2billing.org
http://forum.asterisk2billing.org/

Everytime I use a2billing it logs me out from FreePBX gui
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=10312
Page 1 of 1

Author:  dcitelecom [ Fri Apr 19, 2013 1:35 pm ]
Post subject:  Everytime I use a2billing it logs me out from FreePBX gui

Has anyone noticed this? Is there a solution?
It seems that everytime I login to a2billing I get logged out from the FreePBX gui. It's annoying as hell. I can have the FreePBX gui open for hours without issue but the moment I login to a2billing I must login again to FreePBX.

Author:  dcitelecom [ Wed Apr 24, 2013 12:43 pm ]
Post subject:  Re: Everytime I use a2billing it logs me out from FreePBX gui

to answer my own question.
I simply forgot to enter my domain in "http_cookie_domain_agent"

Author:  dcitelecom [ Wed May 08, 2013 7:20 pm ]
Post subject:  Re: Everytime I use a2billing it logs me out from FreePBX gui

That didn't solve it. Anyone have an idea?

Author:  dcitelecom [ Wed Jun 15, 2016 6:38 pm ]
Post subject:  Re: Everytime I use a2billing it logs me out from FreePBX gui

I can't be the only one with this problem. Anyone?

Author:  dcitelecom [ Thu Jul 07, 2016 2:41 am ]
Post subject:  Re: Everytime I use a2billing it logs me out from FreePBX gui

To answer my own question. Changing the session timeout value in admin.defines.php helps.

nano /var/www/html/a2billing/admin/lib/admin.defines.php

// Control Session Time
.
.
.
//destroy session
if ($timeDiff > 360000) { // 6000 minutes
//echo "You've been logged in too long. ($timeDiff)";
$_SESSION = array();
session_destroy();
setcookie('PHPSESSID', '', time()-360000, '/', '', 0,0);
}

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/