Re: Application Scope variables ?

From: Virgil Green (vjg_at_DESPAMobsydian.com)
Date: 09/20/04


Date: Mon, 20 Sep 2004 17:24:50 GMT


"Ruben van Engelenburg" <ruben@NOSPAM!.nl> wrote in message
news:414ebb56$0$65124$e4fe514c@news.xs4all.nl...
> aa wrote:
> > I am migrating to PHP from ASP where there are the Application Scope
> > variables which are accessible from any page on a website and which are
> > used, in particular, for hit counters.
> > Is there a similar mechanism in PHP?
>
> Hi,
>
> Yes there is, take a look at sessions:
> http://nl3.php.net/manual/en/ref.session.php

Sessions are not the same as application scope, I don't believe.

I've seen references to shared memory schemes, but they are avaialble to the
entire computer, not just a single application (all sessions running under
the same site id, for example).

 - Virgil



Relevant Pages

  • Re: Application Scope variables ?
    ... ASP' application is an object with a method "lock" to handle attempts to ... change a variable from two or more sessions at a time. ... So if there is nothing like that in PHP - thanks - you saved me time lokinmg ... Does ASP even guarantee that several ...
    (alt.php)
  • Re: Application Scope variables ?
    ... ASP' application is an object with a method "lock" to handle attempts to ... change a variable from two or more sessions at a time. ... So if there is nothing like that in PHP - thanks - you saved me time lokinmg ... Does ASP even guarantee that several ...
    (comp.lang.php)
  • Re: Application Scope variables ?
    ... >> I am migrating to PHP from ASP where there are the Application Scope ... Sessions are not the same as application scope, ...
    (comp.lang.php)
  • Re: Application Scope variables ?
    ... > I am migrating to PHP from ASP where there are the Application Scope = ...
    (comp.lang.php)
  • Re: Application Scope variables ?
    ... > I am migrating to PHP from ASP where there are the Application Scope ... > variables which are accessible from any page on a website and which are ...
    (comp.lang.php)