<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>logout security</title> 
  <pubDate>Fri, 10 Apr 2026 18:48:27 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2731</link> 
  <atom:link rel="self" type="application/rss+xml" title="logout security" href="https://bugs.horde.org/ticket/2731/rss" /> 
  <description>logout security</description> 
 
   
   
  <item> 
   <title>In Horde 3.0.5 the logout button seems to not close the sess</title> 
   <description>In Horde 3.0.5 the logout button seems to not close the session appropriatetly.

After logging out of a Horde 3.0.5 session, I can access Horde bypassing completely the login screen (I don&#039;t need to login again). Accessing the URL &#039;http://localhost/horde&#039; is sufficient to be presented with the list of messages. This bug is not present in Horde 3.0.4



Here are some more details about my configuration:



- horde/config/conf.php

$conf[&#039;session&#039;][&#039;name&#039;] = &#039;Horde&#039;;

$conf[&#039;session&#039;][&#039;cache_limiter&#039;] = &#039;nocache&#039;;

$conf[&#039;session&#039;][&#039;timeout&#039;] = 0;

$conf[&#039;prefs&#039;][&#039;driver&#039;] = &#039;sql&#039;;

$conf[&#039;sessionhandler&#039;][&#039;type&#039;] = &#039;mysql&#039;;

$conf[&#039;auth&#039;][&#039;checkip&#039;] = true;

$conf[&#039;auth&#039;][&#039;params&#039;][&#039;app&#039;] = &#039;imp&#039;;

$conf[&#039;auth&#039;][&#039;driver&#039;] = &#039;application&#039;;



- php.ini

session.use_cookies = 1

session.use_only_cookies = 1

session.cookie_lifetime = 0



Another piece of information which may be usefull: the horde_sessionhandler table contains after the logout still a huge amount of serialized variables (for this particular session), whereas in  horde 3.0.4, the same table contains after the logout only

hordeMessageStacks|a:2:{s:10:&quot;javascript&quot;;a:0:{}s:6:&quot;status&quot;;N;}horde_language|s:5:&quot;en_US&quot;;

If I replace (after le logout) the contents of the horde 3.0.5 session in the horde_sessionhandler table with the one obtained in 3.0.4, I cannot any more access the system without first logging in again.

</description> 
   <pubDate>Tue, 04 Oct 2005 17:36:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t12155</link> 
  </item> 
   
  <item> 
   <title>Same behavior happens when setting

$conf[&#039;auth&#039;][&#039;driver&#039;] </title> 
   <description>Same behavior happens when setting

$conf[&#039;auth&#039;][&#039;driver&#039;] = &#039;http&#039;;</description> 
   <pubDate>Tue, 04 Oct 2005 20:44:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t12156</link> 
  </item> 
   
  <item> 
   <title>Does it work if you use the default session handler?</title> 
   <description>Does it work if you use the default session handler?</description> 
   <pubDate>Tue, 25 Oct 2005 12:37:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t12981</link> 
  </item> 
   
  <item> 
   <title>&gt; Does it work if you use the default session handler?



Ye</title> 
   <description>&gt; Does it work if you use the default session handler?



Yes everything works fine using the default session handler.

When I change to the mysql session handler

$conf[&#039;sessionhandler&#039;][&#039;type&#039;] = &#039;mysql&#039;;

the problem re-appears</description> 
   <pubDate>Tue, 25 Oct 2005 16:11:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t12993</link> 
  </item> 
   
  <item> 
   <title>I just tried horde-3.0.6 and I can still reproduce the bug.
</title> 
   <description>I just tried horde-3.0.6 and I can still reproduce the bug.



Switching from the mysql session handler to the pear session handler ($conf[&#039;sessionhandler&#039;][&#039;type&#039;] = &#039;sql&#039;;) makes it disappear though ...



The MySQL version I&#039;m using is 4.1.12

</description> 
   <pubDate>Mon, 31 Oct 2005 15:26:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t13299</link> 
  </item> 
   
  <item> 
   <title>By adding 

        $result = @mysql_query(&#039;COMMIT&#039;, $this-&gt;</title> 
   <description>By adding 

        $result = @mysql_query(&#039;COMMIT&#039;, $this-&gt;_db);

        $result = @mysql_query(&#039;SET AUTOCOMMIT=1&#039;, $this-&gt;_db);



at the end of the destroy function in 

/lib/Horde/SessionHandler/mysql.php

(similar to the &#039;write&#039; function)



the bug disappears</description> 
   <pubDate>Mon, 31 Oct 2005 15:40:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t13301</link> 
  </item> 
   
  <item> 
   <title>Fix committed - thanks!</title> 
   <description>Fix committed - thanks!</description> 
   <pubDate>Mon, 31 Oct 2005 19:48:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2731#t13309</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
