Jump to content

PHP OOP


Utherr12

Recommended Posts

I have a question, if I instantiate a new object that I've made (complete with constructor) and then store it in a session variable, would the object re instantiate upon calling that session variable again on another page ?

Link to comment
Share on other sites

The object will actually be deconstructed once the script ends. It will be re-instantiated once it's called again but that doesn't mean it's carried over.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...