<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Help, Cannot Login - No _CSRFToken exists error</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Help-Cannot-Login---No-_CSRFToken-exists-error-79853</link>
        <description></description>
        <pubDate>Tue, 09 Jun 2026 08:39:44 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Help-Cannot-Login---No-_CSRFToken-exists-error-79853" rel="self" type="application/rss+xml" />

                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235809#post2235809</link>
          <description><![CDATA[<p>Hi Dave,</p>
<p><strong>&gt;I think that might be an unrelated problem, but we'll need to check it out to know for sure.</strong></p>
<p>Yes, I think that you are right.<br /><br />I observe more errors since the publication of my message. And, I did not succeed in reproducing this error.<br /><br />The script is attached to a form. Also, it is perhaps related to a use which was not conformity (…)</p>
<p>Thanks again!</p>
<p>Djulia</p>]]></description>
          <pubDate>Wed, 21 Jan 2015 01:07:11 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235809#post2235809</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235788#post2235788</link>
          <description><![CDATA[<p>Hi Djulia, </p>
<p>I think that might be an unrelated problem, but we'll need to check it out to know for sure.</p>
<p>What was happening with the previous error is that the AutoBackup plugin was calling backupDatabase() which had an optimization to "close" sessions before long backup operations.  So all the patch does was "not" close sessions that were previously opened by CMSB.</p>
<p>If you want to print out what CMSB thinks the session name is you can add a debug line in /lib/init.php</p>
<p><code>// Initialize session<br /> $session_name = cookiePrefix() . 'PHPSESSID'; // use a unique session cookie for each CMS installation<br /> ini_set('session.name', $session_name); // sets session.name<br /><span style="color:#ff0000;"><strong>die("ini_set('session.name', $session_name)");</strong></span></code></p>
<p>And check the cookie prefix value which comes from /data/settings.*.php and is stored in 'cookiePrefix'.</p>
<p>You could also check what the session name and ID is before that line:</p>
<p><code><span style="color:#ff0000;">print "session_name(): " .session_name(). "&lt;br/&gt;\n";</span><br /><span style="color:#ff0000;">print "session_id(): " .session_id(). "&lt;br/&gt;\n";</span><br />if (!isset($_SESSION)) { session_start(); }<br /></code></p>
<p>Actually, I'm not sure that we change session_id() at all.  Session_id is the name of the session file, and session_name of the cookie that stores the session_id.</p>
<p>If you'd like to  send server details to me at dave@interactivetools.com I can debug it for you.</p>
<p>Thanks!</p>]]></description>
          <pubDate>Mon, 19 Jan 2015 08:50:29 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235788#post2235788</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235784#post2235784</link>
          <description><![CDATA[<p>Hi Claire,</p>
<p>Interesting, but that causes a warning with use session_start in our script.</p>
<p>" if (!isset($_SESSION)) { session_start(); } "</p>
<p>PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'</p>
<p>An idea?</p>
<p>I found this post: :<br /><br /><a href="http://stackoverflow.com/questions/3185779/the-session-id-is-too-long-or-contains-illegal-characters-valid-characters-are" rel="nofollow">http://stackoverflow.com/questions/3185779/the-session-id-is-too-long-or-contains-illegal-characters-valid-characters-are</a></p>
<p>Thanks!<br />Djulia</p>
]]></description>
          <pubDate>Sat, 17 Jan 2015 12:03:39 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235784#post2235784</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235780#post2235780</link>
          <description><![CDATA[<p>Hi all, for anyone who has an issue with this in the future - we've located the source of the problem. It's related to a particular session_write_close call in lib/database_functions.php that causes this error on some servers.</p>
<p>The solution is as follows:</p>
<p>update /lib/database_functions.php and replace all instances of this:</p>
<p><strong>session_write_close()</strong></p>
<p>with this:</p>
<p><strong>#session_write_close()</strong></p>
<p>If you also have the Autobackup plugin installed, please make sure the backup folder is writeable.</p>
<p>Dave has updated the CMSB source code so the next release shouldn't have this issue. If anyone is still having problems, please post here!</p>]]></description>
          <pubDate>Fri, 16 Jan 2015 16:30:26 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235780#post2235780</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235774#post2235774</link>
          <description><![CDATA[<p>Hi mizrahi, have you got access to phpadmin through your host control panel, you might be able to make some basic edits that way. </p>]]></description>
          <pubDate>Fri, 16 Jan 2015 10:21:54 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235774#post2235774</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235773#post2235773</link>
          <description><![CDATA[<p>I might have a workaround - I'll update your ticket in a sec.</p>]]></description>
          <pubDate>Fri, 16 Jan 2015 09:09:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235773#post2235773</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235771#post2235771</link>
          <description><![CDATA[<p>Any updates on this? I am in a bit of bind with one of my sites. I need to push some updates live today.</p>]]></description>
          <pubDate>Fri, 16 Jan 2015 06:56:16 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235771#post2235771</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235768#post2235768</link>
          <description><![CDATA[<p>FYI, Our host also tried to fix this by adding the following to our htaccess file, but error still exists</p>
<p>&lt;IfModule mod_php5.c&gt;<br />#Session timeout<br />php_value session.cookie_lifetime 86400<br />php_value session.gc_maxlifetime 86400<br />&lt;/IfModule&gt;</p>]]></description>
          <pubDate>Thu, 15 Jan 2015 15:21:08 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235768#post2235768</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235767#post2235767</link>
          <description><![CDATA[<p>Done. Thanks.</p>]]></description>
          <pubDate>Thu, 15 Jan 2015 11:00:39 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235767#post2235767</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235765#post2235765</link>
          <description><![CDATA[<p>Hi there - yes, please do. I'm still troubleshooting this and having another test case would be great.</p>]]></description>
          <pubDate>Thu, 15 Jan 2015 08:39:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235765#post2235765</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235763#post2235763</link>
          <description><![CDATA[<p>I am also experiencing the same issue. Should I submit a second level support ticket?</p>]]></description>
          <pubDate>Thu, 15 Jan 2015 07:14:06 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235763#post2235763</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235719#post2235719</link>
          <description><![CDATA[<p>Thanks very much for posting this! I'll update your ticket.</p>]]></description>
          <pubDate>Mon, 12 Jan 2015 09:26:50 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235719#post2235719</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235717#post2235717</link>
          <description><![CDATA[<p>Hi Greg, Just a follow up on this... have tried the following in settings.dat.php:</p>
<p>'checkReferer' =&gt; '0',</p>
<p>'session_save_path' =&gt; '/directory/path/',<br />I can see the session files being stored in this directory and they are not being deleted</p>
<p>I get the _CSRFToken immediately on login on all browsers. </p>
<p>I also have a support ticket in #RDJ-694185</p>


]]></description>
          <pubDate>Sun, 11 Jan 2015 13:41:25 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235717#post2235717</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235619#post2235619</link>
          <description><![CDATA[<p>Thanks Greg, I have tried all those options. I have submitted a support request. Many Thanks</p>]]></description>
          <pubDate>Fri, 02 Jan 2015 10:29:13 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235619#post2235619</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235618#post2235618</link>
          <description><![CDATA[<p>Hi theclicklab, </p>
<p>This is probably happening because the session that contains the users _CSRFToken (which is used to prevent Cross-Site Request Forgery) is being unset. There are a couple of things you could look into to fix this:</p>
<ol><li>Try setting a directory to store your session data in, you can do this in the CMSB General settings area (see attached). On some hosting services the session files are deleted extremely often by the server unless you store them in a directory you can control.</li>
<li>CMS Builder is set up so that session cookies remain for 24 hours, but some servers ignore this and use their own session limits, you might have to contact your hosting company and see if you have access to the session.gc_maxlifetime variable:</li>
<li>
<p><code>ini_set('session.gc_maxlifetime', 3600);</code></p>
</li>
</ol><p>You could also try disabling the `Check Referer` check box in the General Settings of the CMS, and see if this makes a difference, although your CMS backend will be slightly less secure if you do this.</p>
<p>If none of these items work, you can fill out a second level support request here: </p>
<p><a href="https://www.interactivetools.com/support/email_support_form.php" rel="nofollow">https://www.interactivetools.com/support/email_support_form.php</a></p>
<p>and we will take a look into what is causing the issue.</p>
<p>Thanks,</p>
<p>Greg</p>]]></description>
          <pubDate>Fri, 02 Jan 2015 09:55:47 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235618#post2235618</guid>
        </item>
                <item>
          <title>Help, Cannot Login - No _CSRFToken exists error</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2235612#post2235612</link>
          <description><![CDATA[<p>Cannot login in any browser. I have read through all the other posts on this and have tried the following:</p>
<p>in settings.dat.php tried changing:<br />'checkReferer' =&gt; '0',<br />'session_save_path' =&gt; 'xxxxxx',</p>
<p>in htaccess tried adding:<br />php_value session.gc_maxlifetime 3600</p>
<p>Php Info:<br />Version: 5.3<br />PHP Safe Mode: off<br /><span>Register Globals: off</span></p>
<p>Not running Spambot Email Protector either. </p>
<p>Suggestions?</p>]]></description>
          <pubDate>Thu, 01 Jan 2015 11:33:43 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2235612#post2235612</guid>
        </item>
              </channel>
    </rss>
  