diff -r 2c025e231b5f MoinMoin/web/session.py
--- a/MoinMoin/web/session.py	Sat Jan 16 07:01:45 2010 +0300
+++ b/MoinMoin/web/session.py	Sat Jan 16 15:41:05 2010 +0100
@@ -202,7 +202,7 @@
             # add some info about expiry to the sessions, so we can purge them:
             session['expires'] = cookie_expires
 
-            if session.should_save:
+            if session.should_save and ('trail' in session and len(session['trail']) > 1 or 'user.id' in session):
                 # note: currently, every request of a logged-in user will save
                 # the session, even when always requesting same page. As we
                 # store the page trail into the session, we would save rather
