Re: Application Scope variables ?
From: Virgil Green (vjg_at_DESPAMobsydian.com)
Date: 09/20/04
- Next message: Gernot Frisch: "argument by reference?"
- Previous message: Shawn Wilson: "Re: a question about mysql_affected_rows()"
- In reply to: Ruben van Engelenburg: "Re: Application Scope variables ?"
- Next in thread: Lucas: "Re: Application Scope variables ?"
- Reply: Lucas: "Re: Application Scope variables ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Gernot Frisch: "argument by reference?"
- Previous message: Shawn Wilson: "Re: a question about mysql_affected_rows()"
- In reply to: Ruben van Engelenburg: "Re: Application Scope variables ?"
- Next in thread: Lucas: "Re: Application Scope variables ?"
- Reply: Lucas: "Re: Application Scope variables ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|