I’m curious which is preferred by dreamhost. If I use PHP sessions on a fairly high traffic site and the session doesn’t get ended correctly I’m afraid they may not get garbaged for quite some time creating a large amount of leftovers on the server.
On the otherhand I could query the sql server on each page that requires info.
Could pass it in the hyperlink, but this won’t serve my purpose
My question is would sessions on a high traffic site be okay or would constant mysql queries be better? Anyone have any opinons?
I want to create the least load possible.