note 3336 modified in Session handling functions by ronabop

From: Date: Fri, 25 Aug 2000 08:37:58 +0000
Subject: note 3336 modified in Session handling functions by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3152@lists.php.net to get a copy of this message
Regarding an ASP Global.asa file, unfortunately, PHP does not support application variables (not in any way I know of). You can easily create any include file which mimics the the operations of a Global.asa file by turning on PHP4 Session's auto_start and preloading the global.asa file in php.ini's auto_prepend_file directive. The PHP Base Library (from which PHP4 Sessions is derived), does just this. It loads a prepend.php3 file in the auto_prepend_file directive which gives the user access to all of PHPLIB's classes and functions (which is pretty extensive). You can find it under the "Projects" section on this site. http://www.php.net/manual/session-handling-functions.php

« previous php.notes (#3152) next »