Im not so sure asp is completely stateless is it.  The application var
will hold a var as long as the server is running, for any visitor.  The
var doesnt need to be set each page load either.. 
eg. Application("counter").. you can add to the counter on any page, by
any visitor, at any time, and it will maintain that var untill your
restart your server.  This suggests some sort of state doesnt ot??

Let me know if im wrong.

Jason

"Jay Blanchard" <[EMAIL PROTECTED]> wrote: 
> 
> [snip]
> s there a way to have global persistent variable with PHP? I would like 
> to reproduce the use of the ASP <Application("name")= "value"> 
> possibility. The variable "name" will be available to every users...
> [/snip]
> 
> One other thing I should have mentioned...neither ASP or PHP is
> 'persistent', they are both stateless. We introduce pseudo-state through
> the use of sessions and/or cookies.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to