I have a small website, and I initialize a class and store it in a session on the front page, and everything works fine, including the class's functions. I pass the class in a session, onto a different page. Thats when I run into problems. When i try to echo the variables, that works, but when I try to access a function, it tells me "Call to undefined function"