PHP help please! Session variables?

Justin

New member
Wow my brain is dead on trying to figure this out. So I'm trying to build my own small php FrameWork with all OOP. So I have my core classes like my DataBase class, Security Class, etc. Then I have extra tool classes like User, Page, and cart. So all my classes can store $_SESSION variables, but my cart class, but once my other classes store their session data my cart class works and can store session data. WTH? I have session_start() at the very top, its just once any other class file stores a session variable that will then allow my cart to work, but it won't work by itself!
 
Back
Top