<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Timeout issues]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4185</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4185&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Timeout issues.]]></description>
		<lastBuildDate>Mon, 18 Nov 2013 22:19:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18473#p18473</link>
			<description><![CDATA[<p>Still going back to the login screen, but I&#039;ve seen a different timeout screen, i.e. &quot;Inactivity timeout&quot; which is not the screen I&#039;m seeing while using the software.</p><p>This is pointing me to some flaw in the session manager, it seems sometimes it drops the session and fires the login page again. As ion said above &quot;sometimes the menu and the footer shows up&quot; so it sometimes drops the session while the page is rendering.</p>]]></description>
			<author><![CDATA[null@example.com (webturner)]]></author>
			<pubDate>Mon, 18 Nov 2013 22:19:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18473#p18473</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18462#p18462</link>
			<description><![CDATA[<p>A little change in php.ini and a restart of apache httpd has fixed the datetime. I&#039;ll see if i still get timeouts later.</p><p>[Date]<br />; Defines the default timezone used by the date functions<br />; http://php.net/date.timezone<br />;date.timezone = &quot;America/Los_Angeles&quot;<br />date.timezone = &quot;Europe/London&quot;</p>]]></description>
			<author><![CDATA[null@example.com (webturner)]]></author>
			<pubDate>Sun, 17 Nov 2013 11:07:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18462#p18462</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18461#p18461</link>
			<description><![CDATA[<p>Ion&#039;s tweak didn&#039;t work for me.</p><p>I don&#039;t know if it&#039;s related but the time in the footer is -8 hours, i.e. PST timezone instead of GMT. I&#039;ll try setting the company timeout to 29400 seconds, i.e. 8 hours 10 minutes.</p>]]></description>
			<author><![CDATA[null@example.com (webturner)]]></author>
			<pubDate>Sun, 17 Nov 2013 10:54:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18461#p18461</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18460#p18460</link>
			<description><![CDATA[<p>I&#039;m having a similar problem on a new install, downloaded today.</p><p>I&#039;m running FA on a WAMP server downloaded from bitnami.com/stack/wamp (v5.4.22) this is running on Win7 ultimate 64bit. This server is on my home LAN and I&#039;m running the UI in Chrome from my laptop. </p><p>From the above comments...<br />my ip addresses are statically set</p><p>php.ini:<br />session.gc_maxlifetime = 1440<br />session.save_path = &quot;E:/BitNami/WAMPST~1.22-/php/tmp&quot;</p><p>looking in the save_path folder there a lots of files in there a few hours old, so i don&#039;t think that&#039;s being garbage collected.</p><p>I&#039;ll try the tweak ion suggested...</p>]]></description>
			<author><![CDATA[null@example.com (webturner)]]></author>
			<pubDate>Sat, 16 Nov 2013 21:08:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18460#p18460</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18055#p18055</link>
			<description><![CDATA[<p>I installed FA and have the same experience.&nbsp; Each link I have to login.&nbsp; The system is unusable (until the issue is fixed).</p><p>This is a bug need to be fixed.&nbsp; I have used many php system and I have never encounter such session timeout issue.</p><p>My webhost is godaddy.&nbsp; I have made the changes to the session.inc based on what I have read from the forum but none resolve the problem.</p><p>I will wait for godaddy&#039;s support to get back to me if they are able to find anything I will share...</p><p>KH</p>]]></description>
			<author><![CDATA[null@example.com (khkoh)]]></author>
			<pubDate>Tue, 08 Oct 2013 10:10:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18055#p18055</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17099#p17099</link>
			<description><![CDATA[<p>The only php.ini that I have on my machine is in /etc/php.ini and it reads:<br />session.gc_maxlifetime = 1440<br />Ion</p>]]></description>
			<author><![CDATA[null@example.com (ion)]]></author>
			<pubDate>Mon, 22 Jul 2013 17:38:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17099#p17099</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17047#p17047</link>
			<description><![CDATA[<p>I did have a similar issue on a local Ubuntu server, where there is a cron job (/etc/cron.d/php5) removing old sessions every 30 minutes. </p><p>On Ubuntu (at least) this makes FA&#039;s login timeout value largely irrelevant as there is an external script purging sessions according to its own settings without FA ever knowing about it. </p><p>I got it sorted by increasing the session.gc_maxlifetime variable in php.ini. (Note that there may be more than one such file, as the main config file can be overridden by an application&#039;s own php.ini. And if you have the PHP CLI package installed, it also has its own php.ini. On a local server, with no other PHP applications, you can safely apply the change to all of them.)</p><p>I don&#039;t know if this applies to the Mac versions, but it could be worth looking into.</p>]]></description>
			<author><![CDATA[null@example.com (tm)]]></author>
			<pubDate>Mon, 15 Jul 2013 17:25:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17047#p17047</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17015#p17015</link>
			<description><![CDATA[<p>I am running everything on localhost so there should be no issues with the client address change. My URL is always (http://localhost/frontaccounting).</p><p>How can I determine if the server is purging the sessions to aggressively? What parameters are determining the purging of the session? I am aware of 2 right now, login timeout and the client&#039;s ip address but those don&#039;t explain the current behaviour. How can I debug this? BTW, I am using Apache/2.2.22.</p><p>One change I made that seems to help, in the frontaccounting/includes/session.inc, in the regenerateSession() function, I changed:<br />&nbsp; &nbsp; &nbsp; &nbsp; $_SESSION[&#039;EXPIRES&#039;] = time() + 10;<br />to<br />&nbsp; &nbsp; &nbsp; &nbsp; $_SESSION[&#039;EXPIRES&#039;] = time() + 100;</p><p>However, I am not sure if this is a good idea. Obviously it will be overwritten with an upgrade. <br />Ion</p><p>P.S.: If I have the login timeout at 1200 will the session expire after 1200s from login regardless of activity or only after 1200s of inactivity (no HTTP requests to the server)?</p>]]></description>
			<author><![CDATA[null@example.com (ion)]]></author>
			<pubDate>Wed, 10 Jul 2013 13:38:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17015#p17015</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17007#p17007</link>
			<description><![CDATA[<p>Could your server could be purging the sessions too aggressively? Or does your client&#039;s IP address change? Apparently that can be the case if you&#039;re connecting with a mobile device.</p>]]></description>
			<author><![CDATA[null@example.com (tm)]]></author>
			<pubDate>Wed, 10 Jul 2013 01:29:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17007#p17007</guid>
		</item>
		<item>
			<title><![CDATA[Timeout issues]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16993#p16993</link>
			<description><![CDATA[<p>I am constantly being redirected to the login screen when I use the application (in less than one minute).<br />Sometimes the login screen covers the whole page, sometimes the menu and the footer shows up and the login screen is in the middle (seems that each section has it&#039;s own session and expiry time).</p><p>The login timeout in the setup/company setup menu is set to 1200.</p><p>The system is unusable, I can&#039;t enter a journal entry: it times out before I manage to save.</p><p>Any suggestions?</p><p>My environment consists of:<br />FrontAccounting Version 2.3.16 Build 08.05.2013<br />PHP Version 5.3.15<br />Safari Version 6.0.5 (7536.30.1)<br />Mac OS X Lion 10.7.5 (11G63)<br />MySQL 5.5.28</p><p>I would appreciate any input.<br />TIA<br />Ion</p>]]></description>
			<author><![CDATA[null@example.com (ion)]]></author>
			<pubDate>Sat, 06 Jul 2013 03:50:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16993#p16993</guid>
		</item>
	</channel>
</rss>
