Tyler: This is not very original but should do the trick
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 30 Nov 2001 18:38:21 +0000 (18:38 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 30 Nov 2001 18:38:21 +0000 (18:38 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1817 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 066fb4c..617c293 100755 (executable)
@@ -24,8 +24,7 @@
 
         $IMAPSessionID = substr(session_id(), -4);
         if( $IMAPSessionID == '' ) {
-            $IMAPSessionID = str_pad( dechex( getPref( $data_dir, $username, 'counter', 0 ) ),
-                                      4, '0', STR_PAD_LEFT);
+            $IMAPSessionID = 'A001';
         }
 
         return( $IMAPSessionID );