I have a class which includes mysql
link and others. I create an object of this class when I load the front page, but I don't want to create again when I reload the page.
mysql
cannot be stored in session, so is there any other way to keep the object globally?