Hello,
I've been searching trough the forums and such, and I have not found an answer to this.
Can PHP do something that is similar to ASPs Application object or the Java Servlet default (i believe that ColdFusion also has got one)?
These store common information in memory instead of acting upon a session or a request.
For example I could want to want to retreive all the URLs for my web application to generate a sitemap. I don't want to do this per every request, not even per every session, but once the web application starts up (and trigger an update when someone adds a page).
There are several other situations where this can be useful (the days of the month, the people in the group and so on and so on).
I suppose the right way would be to do shared memory semaphores... (Talking Unix/Apache here).
Anyone done anything like this? Anyone have an idea on how to do it?
Any comments appreciated!
Cheers!
/Jocke