Re: Persistent global variable?
- From: Oli Filth <catch@xxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 16:01:55 GMT
howachen@xxxxxxxxx said the following on 27/09/2006 16:49:
Hi,
Are there something like a `Persistent global variable` in PHP?
It is something like `Application` in the classic ASP, all the request
share the same variable, and the die after a timeout.
Sessions.
http://php.net/manual/features.sessions.php
Be aware that sessions are not cross-user though. Each user has their own set of independent persistent variables.
--
Oli
.
- References:
- Persistent global variable?
- From: howachen
- Persistent global variable?
- Prev by Date: Re: while ($row = mysql_fetch_array($result)) error suppression
- Next by Date: Re: MySQL Backup Script
- Previous by thread: Persistent global variable?
- Next by thread: Re: Persistent global variable?
- Index(es):
Relevant Pages
|