Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] Application Variables From: Kristian Köhntopp (kk <email protected>)
Date: 08/12/99

Gianluca Baldo wrote:
> | ASP has Application variables.
> What exactly "Application variables" are?

Application variables are persistent variables which are shared among
all pages that belong to a certain web application.

A persistent variable is a variable with a lifetime longer than the
lifetime of your script. In web applications, you have different sets
of persistent variables, often application servers differentiate between
session variables, user variables and application variables. Session
variables are "bound to" a session variable, for example a cookie
or some other session specific id. User variables are "bound to"
a user identity, that is, they exist only after a login or some
other user identification. Application variables are "bound to" the
application id, which is often the application name on a server.

PHPLIB implements Session and User variables and can be trivially hacked
to provide Application variables. Application variables are difficult
to implement efficiently, though, and a hacked PHPLIB would not provide
Application variables in a way that is even remotely efficient, so that
there are no Application variables in PHPLIB by default.

For more information about PHPLIB, see the URL below.

Kristian

-- 
Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00
Using PHP3? See our web development library at
http://phplib.shonline.de/ (GPL)

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>