Add a unique ID to each session.
Make the session cookie always use the path '/' so duplicates don't occur.