I don't think if there is such an equivalent in PHP. You will have to store
the data in the file system by some means inorder to provide
application-wide access. You can try using plain-text files, XMLs or even
databases.
You may look at options like getenv and putenv, which allow you to access
the SYSTEM variables of the server. But its generally not advised to
manipluate the server environment.
http://in2.php.net/getenv
http://in2.php.net/manual/en/function.putenv.php
Regards,
Krishna Shasankar
http://www.krishnashasankar.com | http://www.clickoffline.com
On Thu, Jun 11, 2009 at 12:44 PM, abhishek jain <ejaincom@...> wrote:
>
>
>
> Hi,
> Is there a global session variable which is global , i mean which can be
> accessed by every request and changed by any one ,
>
> Which destoys itself once the Apache is restarted.
>
> --
> Regards,
> Abhishek jain
>
>
>
[Non-text portions of this message have been removed]