<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Session errors]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6901&amp;type=atom" />
	<updated>2017-10-01T12:18:46Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6901</id>
		<entry>
			<title type="html"><![CDATA[Re: Session errors]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28797#p28797" />
			<content type="html"><![CDATA[<p>Periodically purge the errors in the <strong>tmp/errors.log</strong> file.</p><p>Placing <strong>echo session_save_path();</strong> just before the <strong>@session_destroy();</strong> line in <strong>access/logout.php</strong> and checking the html source of the logged out page will show where the session files are stored - these too must be purged periodically - they will generally be beyond the webroot and possibly out of reach of the php&#039;s permissions to destroy them and hence the error. In linux systems I have not found this issue.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-01T12:18:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28797#p28797</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Session errors]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28307#p28307" />
			<content type="html"><![CDATA[<p>If you are getting a lot of errors in <strong>tmp/errors.log</strong> for <strong>logout.php</strong> file, it is because of the last 2 lines in it. The error lines would be like:<br /></p><div class="codebox"><pre><code>[31-Jul-2017 13:53:27] 0::logout.php:50:[before upgrade] session_destroy() [&lt;a href=&#039;function.session-destroy&#039;&gt;function.session-destroy&lt;/a&gt;]: Session object destruction failed</code></pre></div><p>The following links have more info on it:</p><p>https://stackoverflow.com/questions/8549757/why-session-object-destruction-failed<br />https://stackoverflow.com/questions/3538513/detect-if-php-session-exists<br />https://github.com/yiisoft/yii2/commit/457abe8939b0d1b7b41c33c4c335d7d6b8ae83a6</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-07-31T18:53:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28307#p28307</id>
		</entry>
</feed>
