Classes over different pages

A

Anonymous

Guest
You can use the same classes across as many pages as you want, basically in the way you describe.

However, objects are a different matter entirely. The short answer is yes, if you want an object to persist across pages, you need to store it in the session.
 
I agree with Alexei.
If there's a need to save something in sessions, do it normally and it won't matter if we're working with Objects or not.
 
Back
Top