Jump to content

Session and server variables and classes/objects


5kyy8lu3

Recommended Posts

Hi.  I'm slowly converting over to object oriented programming.  I know it's good practice to use 'getter' and 'setter' methods to move data in and out of an object, but what about session variables?  Do I really need to use a 'setter' method to get the value into my object?

 

Thanks!

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.