What is the proper way to use sessions?

I have a forum on my site which I've coded from scratch but I've not been using sessions for the users and instead I've been using just cookies to determine if they're logged in or not. I know my current way isn't ideal so I thought I should research sessions as it seems to be the right way to do it.

Member Avatar

sessions are the way to do it. Forums depend on sessions.