? .DS_Store
Index: ubb.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ubb/ubb.module,v
retrieving revision 1.1
diff -u -p -r1.1 ubb.module
--- ubb.module	3 Jul 2010 03:08:04 -0000	1.1
+++ ubb.module	14 Nov 2010 02:30:36 -0000
@@ -117,7 +117,7 @@ function ubb_user($op, &$edit, &$account
             setcookie($cookie_prefix ."ubbt_key", '', time() - 3600, $cookie_path);
             // Set the user and session cookies.
             setcookie($cookie_prefix ."ubbt_myid", $ubb_user['USER_ID'], $cookie_expire, $cookie_path);
-            setcookie($cookie_prefix ."ubbt_mysess", $session, 0, $cookie_path);
+            setcookie($cookie_prefix ."ubbt_mysess", $session, $cookie_expire, $cookie_path);
           }
           ubb_db_close();
         }
@@ -319,4 +319,4 @@ function ubb_db_close() {
   
   $db_prefix = $ubb_old_prefix;
   db_set_active('default');
-}
\ No newline at end of file
+}
