Php static variables across sessions

Posted by pistacchio on Stack Overflow See other posts from Stack Overflow or by pistacchio
Published on 2010-03-18T17:53:38Z Indexed on 2010/03/18 18:01 UTC
Read the original article Hit count: 143

Filed under:
|

Hi,

In ASP.NET if I declare a variable (or object) static (or if I make a singleton) I can have it persist across multiple sessions of multiple users (it it registered in a server scope) so that I don't have to initialize it at every request.

Is there such a feature in PHP? Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about session