Index: session.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/session.inc,v
retrieving revision 1.37.2.2
diff -u -p -r1.37.2.2 session.inc
--- session.inc	26 Jul 2007 19:16:45 -0000	1.37.2.2
+++ session.inc	10 Aug 2008 21:36:06 -0000
@@ -58,7 +58,7 @@ function sess_write($key, $value) {
 
   // If saving of session data is disabled or if the client doesn't have a session,
   // and one isn't being created ($value), do nothing.
-  if (!session_save_session() || (empty($_COOKIE[session_name()]) && empty($value))) {
+  if (!session_save_session() || (!$user->uid && empty($_COOKIE[session_name()]) && empty($value))) {
     return TRUE;
   }
 
