Normally you would keep a record of who each note belongs to, and then use that in your website's views to determine what was visible to each user.
So, for example, if you were using Django, you would have a User model, and each session would have an associated user. Each note would have a foreign key relationship with a User, and in your views you would filter which notes were shown in a particular session by the User associated with that session. That would mean that a user would only be able to see their own stuff.
If that is all pretty new stuff to you, you will be able to find great resources by Googling for the name of your web framework plus "user", "session", and so on. And you'll probably be able to get great explanations from ChatGPT too -- it's very good at that kind of explanation.