title: Can I create an object that can be used for more than one connection in different clients?
body: <p>I usually code in c# and python for desktop and the problem I am having with PHP is that I'm not sure how to do X things without having an object from a class I create where I can set X attributes and retrieve them when needed.</p>
  
  <p>As an example, if I do need to have a page that displays a message until something is sent as post, what I would do is use an object and change the attribute but I can't because a new object is created on each connection if I do use DBs I will have problems because I will have a connection to that site every time and it will overload my DB.</p>
  
  <p>Is there any way to make this on PHP?</p>