<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — login repeats with every click]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9606</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9606&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in login repeats with every click.]]></description>
		<lastBuildDate>Tue, 25 Jan 2022 03:18:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40555#p40555</link>
			<description><![CDATA[<p>On http call, a check if https exists and if so an appropriate https redirection in FA would be good.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 25 Jan 2022 03:18:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40555#p40555</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40545#p40545</link>
			<description><![CDATA[<p>Recognising http vs https is how it worked before the change.&nbsp; But this means that once logged in to your installation via http, it willl be selected always on later logins (unless there is automatic http&gt;https redirection). Logging via http means sending password in plain, which is completely unsecure and should be avoided if possible.<br />IMO user safety should be prioritized when dealing with sensitive data (like accounting), so sending cookies only via secure channel is just better policy&nbsp; default. Admin choice to lower down security is now required to be made as conscious decision, and should not depend on arbitrary ISP server settings.<br />J.</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 24 Jan 2022 08:56:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40545#p40545</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40542#p40542</link>
			<description><![CDATA[<p>Effective workaround to use the newer commit only for <strong>https</strong> and not for <strong>http</strong>:</p><p>Replace hardcoded line 14 of <strong>includes/session.inc</strong>:<br /></p><div class="codebox"><pre><code>define(&#039;SECURE_ONLY&#039;, true);</code></pre></div><p>to be <br /></p><div class="codebox"><pre><code>define(&#039;SECURE_ONLY&#039;, (parse_url($_SERVER[&#039;REQUEST_URI&#039;], PHP_URL_SCHEME) == &#039;https&#039;));</code></pre></div><p>This way newer installs will not break when not using https. The last few times, the released versions seem to have some showstopper for existing users. This will only make existing users especially on legacy systems not to upgrade as that would warrant &quot;consultant costs&quot;. FA should herd and retain it&#039;s flock as that is where the network wealth of the project lies - bulk satisfied standard users who can upgrade atleast in minor versions safely.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 24 Jan 2022 05:00:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40542#p40542</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40539#p40539</link>
			<description><![CDATA[<p>It is then better not to be hardcoded as a define but dynamically computed if https is in the URL. As it stands after the <a href="https://github.com/FrontAccountingERP/FA/commit/b1e5569c496a37d519fdf009255b11ab03589c00">current commit</a>, we still need to set the define manually.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 24 Jan 2022 02:59:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40539#p40539</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40535#p40535</link>
			<description><![CDATA[<p>This change was introduced to enforce secure session in FA, so all works as expected if FA is accessed via https. <br />For rare situations when https is not available, additional configuration value could be handy, so we have <a href="https://sourceforge.net/p/frontaccounting/git/ci/b1e5569c496a37d519fdf009255b11ab03589c00/">added it</a>.<br />Now, if you know what you are doing, you can switch off https cookies enforcing in session.inc. <br />Unfortunately&nbsp; this option cannot be added in sysprefs/config.php because the settings are not available before session is started.<br />J.</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sun, 23 Jan 2022 20:51:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40535#p40535</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40529#p40529</link>
			<description><![CDATA[<p>Hello guys,</p><p>Thanks for reporting this issue.</p><p>I have asked Itronics to look into it and fix something.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sat, 22 Jan 2022 21:29:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40529#p40529</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40514#p40514</link>
			<description><![CDATA[<p>@joe: This needs to be automagically set based on PHP version or by a server wide config variable.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 21 Jan 2022 03:04:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40514#p40514</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40438#p40438</link>
			<description><![CDATA[<p>I recently made a fresh install and session.inc created continuous timeouts with redirects to the login page (ubuntu 20.04, PHP 7.4 as well as PHP8.0, FA 2.4.11). I was looking for hours at sessions with webservers and cookies but finally notrinos found the real culprit. Thanks.</p><p>WORKS: <br />$Session_manager-&gt;sessionStart(&#039;FA&#039;.md5(dirname(__FILE__)));</p><p>CONTINUOUSLY TIMEOUTS SESSIONS: <br />$Session_manager-&gt;sessionStart(&#039;FA&#039;.md5(dirname(__FILE__)), 0, &#039;/&#039;, null, True);</p>]]></description>
			<author><![CDATA[null@example.com (paschauf)]]></author>
			<pubDate>Wed, 05 Jan 2022 03:00:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40438#p40438</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40408#p40408</link>
			<description><![CDATA[<p>It&#039;s worked. Great. Thank you notrinos.</p>]]></description>
			<author><![CDATA[null@example.com (mosaicmerchant)]]></author>
			<pubDate>Tue, 28 Dec 2021 13:20:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40408#p40408</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40404#p40404</link>
			<description><![CDATA[<div class="quotebox"><cite>notrinos wrote:</cite><blockquote><p>The problem has been firing from this commit: <a href="https://github.com/FrontAccountingERP/FA/commit/ccca49a7020c3121ce31d0318fcf9807ada68667">https://github.com/FrontAccountingERP/F … 07ada68667</a><br />Someone who faced the same issue after upgrade FA to 2.4.11 can get solution by roll back the file session.inc to state it was before the commit.<br />Or just replace the session.inc with this file:<br /><a href="https://raw.githubusercontent.com/FrontAccountingERP/FA/3593bf5e540f7bb5ce1fd084eeba83a88b0c1518/includes/session.inc">https://raw.githubusercontent.com/Front … ession.inc</a></p></blockquote></div><p>Great, it&#039;s work</p>]]></description>
			<author><![CDATA[null@example.com (risingstar)]]></author>
			<pubDate>Mon, 27 Dec 2021 12:58:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40404#p40404</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40402#p40402</link>
			<description><![CDATA[<p>Thanks notrinos!<br />Looks like that works.</p>]]></description>
			<author><![CDATA[null@example.com (PatJr)]]></author>
			<pubDate>Thu, 23 Dec 2021 15:42:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40402#p40402</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40401#p40401</link>
			<description><![CDATA[<p>The problem has been firing from this commit: <a href="https://github.com/FrontAccountingERP/FA/commit/ccca49a7020c3121ce31d0318fcf9807ada68667">https://github.com/FrontAccountingERP/F … 07ada68667</a><br />Someone who faced the same issue after upgrade FA to 2.4.11 can get solution by roll back the file session.inc to state it was before the commit.<br />Or just replace the session.inc with this file:<br /><a href="https://raw.githubusercontent.com/FrontAccountingERP/FA/3593bf5e540f7bb5ce1fd084eeba83a88b0c1518/includes/session.inc">https://raw.githubusercontent.com/Front … ession.inc</a></p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Thu, 23 Dec 2021 12:29:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40401#p40401</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40400#p40400</link>
			<description><![CDATA[<p>I am facing same problem here. Yesterday I upgrade 2.4.11 and since then it redirected me to the login page. Version 2.4.10 seems fine.</p>]]></description>
			<author><![CDATA[null@example.com (mosaicmerchant)]]></author>
			<pubDate>Thu, 23 Dec 2021 08:12:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40400#p40400</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40395#p40395</link>
			<description><![CDATA[<p>Thank You kvvaradha for your feedback.<br />I&#039;ll have a try at those suggestions.</p><p>The browsers, I did try 3 different ones and got the same results.<br />I put 2.4.10 back in and it started working fine again. </p><p>Thanks Again and Merry Christmas 2021!</p>]]></description>
			<author><![CDATA[null@example.com (PatJr)]]></author>
			<pubDate>Tue, 21 Dec 2021 04:05:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40395#p40395</guid>
		</item>
		<item>
			<title><![CDATA[Re: login repeats with every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40394#p40394</link>
			<description><![CDATA[<p>Sometimes it happened, if you hosted it on web server and try to access from unstable internet. </p><p>Sometimes it happens with browser cookie or session level. So clear the cache and try again.</p><p> Sometimes it happens with program level. The php version also sometimes issues bug during creation of session.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Tue, 21 Dec 2021 03:51:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40394#p40394</guid>
		</item>
	</channel>
</rss>
