<?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>setting $RECOMPOSE to true not possible when logged out</title> 
  <pubDate>Fri, 10 Apr 2026 09:35:37 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7748</link> 
  <atom:link rel="self" type="application/rss+xml" title="setting $RECOMPOSE to true not possible when logged out" href="https://bugs.horde.org/ticket/7748/rss" /> 
  <description>setting $RECOMPOSE to true not possible when logged out</description> 
 
   
   
  <item> 
   <title>User will lose content in the compose window when logged out</title> 
   <description>User will lose content in the compose window when logged out because the section of code in imp/lib/base.php where $RECOMPOSE is set to true can never be executed because $compose_page will always be false when logged out. 



On line 53 $compose_page will be set to false because $_SESSION[&#039;imp&#039;] will be null after being logged out. 



$compose_page = (isset($_SESSION[&#039;imp&#039;][&#039;viewmode&#039;]) &amp;&amp; $_SESSION[&#039;imp&#039;][&#039;viewmode&#039;] == &#039;imp&#039;) &amp;&amp; strstr($_SERVER[&#039;PHP_SELF&#039;], &#039;compose.php&#039;);



Line 102 and 122  will never be executed since lines 101 and 121 will be false due to the results of line 53 



</description> 
   <pubDate>Tue, 02 Dec 2008 20:36:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7748#t51040</link> 
  </item> 
   
  <item> 
   <title>I&#039;m guessing this is moot because of the rewrite to use the </title> 
   <description>I&#039;m guessing this is moot because of the rewrite to use the VFS?</description> 
   <pubDate>Tue, 02 Dec 2008 20:58:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7748#t51041</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/imp/lib/base.php?r1=1.79.10.19&amp;r2=1.79.10.20&amp;ty=u</description> 
   <pubDate>Tue, 02 Dec 2008 21:37:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7748#t51045</link> 
  </item> 
   
  <item> 
   <title>Yes - it has already been fixed in IMP 5 by using VFS instea</title> 
   <description>Yes - it has already been fixed in IMP 5 by using VFS instead of the old method.



The IMP 4.x way of doing things breaks down in multiple ways - if using the non-standard login page; if maintenance is performed on login; if not using IMP auth.... It is pretty much useless.  But I&#039;ve tried to make it work at least for the situation where IMP is authenticating through the login page with no maintenance.  Try the patch (link is in the ticket history) and see if it helps.

</description> 
   <pubDate>Tue, 02 Dec 2008 21:39:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7748#t51046</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
