PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
ok
in ASP you have something that is called Application that is like a session but its global for all the users
and it lives for ever (or until u delete it)
is there something like that in php?
pelegk2 wrote:ok
in ASP you have something that is called Application that is like a session but its global for all the users
and it lives for ever (or until u delete it)
is there something like that in php?
Nope, I was complaining about this in another thread. I miss being able to set global.asa, application start and stop. There is no equivalent in PHP 4 and to be able to get the same functionality with Public, Private and Protected you have to go to PHP 5.
I really don't like PHP sessions in that you have to declare the start on a page by page basis and there is no global.asa. Now that I think about it PHP sessions behave more like ASP Application than actual sessions because of this.
and that's a bad thing? do you know how many database requests go to the database per page of this forum alone? It's more than 10.. I can tell you that.