uninitialize session if it is new but not modified. Save session in the db and give cookies to the browser only when the session is modified. (In my project, the only the session is modified is when the browser log in)
This can distinguish the anonymous people and logged in people. And that is a good thing. Because if we give all the people cookies who just visits our website, it means sessionID of all the people will be stored in the session db and it is waste of storage and data. Only sending cookies to people who logged in can make the db more efficient.