What I'm looking to do is have 1 variable maintain it's scope throughout the entire site. This variable get's set depending on the entry point to the site. Regardless of what it's set to, I need to make sure that while a visitor is browsing my site this variable maintains its value. My questions is, should I use a cookie for this or use sessions? I"m pretty new to php developmentt so forgive me if this is a very simple question.