Tyler: This is not very original but should do the trick
[squirrelmail.git] / functions / imap_general.php
index 8bd2485aee551001430052b15421889c12bb489e..617c2937c889d52149da909e112b46c1d89c7c50 100755 (executable)
     */
     function sqimap_session_id() {
 
+        global $data_dir, $username;
+
         $IMAPSessionID = substr(session_id(), -4);
         if( $IMAPSessionID == '' ) {
-            $IMAPSessionID = GenerateRandomString(4, '', 7);
+            $IMAPSessionID = 'A001';
         }
 
         return( $IMAPSessionID );