diff --git a/src/mako/session/Session.php b/src/mako/session/Session.php
index <HASH>..<HASH> 100644
--- a/src/mako/session/Session.php
+++ b/src/mako/session/Session.php
@@ -198,7 +198,7 @@ class Session
 
 	protected function generateId()
 	{
-		return md5(UUID::v4());
+		return sha1(UUID::v4() . uniqid('session', true));
 	}
 
 	/**
Added more randomness to session IDs