<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Found: Redirect to login after every click]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9682</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9682&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Found: Redirect to login after every click.]]></description>
		<lastBuildDate>Mon, 18 Apr 2022 18:29:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Found: Redirect to login after every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40884#p40884</link>
			<description><![CDATA[<p>Namaskar,</p><p>I assume you are running on XAMPP, just need to configure SSL.</p><p>Ref: https://medium.com/@ajtech.mubasheer/setup-https-in-xampp-for-localhost-bc3d01393f31</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (nishant_kumar)]]></author>
			<pubDate>Mon, 18 Apr 2022 18:29:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40884#p40884</guid>
		</item>
		<item>
			<title><![CDATA[Found: Redirect to login after every click]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40612#p40612</link>
			<description><![CDATA[<p>Hi,</p><p>just for anybody who is not running SSL on their server.</p><p>Did a new install 2.4.11, and every time I clicked on any link, it went back to the login page and after new login to link destination.</p><p>Found the culprit after a while of searching ...</p><p>In includes/session.inc, function sessionStart:</p><p>$https = isset($secure) ? $secure : (!empty($_SERVER[&#039;HTTPS&#039;]) &amp;&amp; $_SERVER[&#039;HTTPS&#039;] !== &#039;off&#039;);</p><p>$https got set to 1, even though I&#039;m definitely not running https.</p><p>Further search is on line 405 (Or around there ... forgive me for not trying to remove all my little debugs)</p><p>$Session_manager-&gt;sessionStart(&#039;FA&#039;.md5(dirname(__FILE__)), 0, &#039;/&#039;, null, True);</p><p>That sets $secure=True and in turn sets $https above to 1.</p><p>That results into cookie parameters being wrong and the session being restarted all the time.</p><p>Hope it helps.</p>]]></description>
			<author><![CDATA[null@example.com (arcon)]]></author>
			<pubDate>Sat, 05 Feb 2022 04:01:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40612#p40612</guid>
		</item>
	</channel>
</rss>
