Re: How To Share Var Between Sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Sorry for the prev mail, Upon testing, the variables cannot be shared 
through $_ENV. No luck even when tried on ISAPI or CGI. 

As a work around, you can write the required info to small text files, and 
open the files whereever applicable. 

Regards,
Manda Krishna Srikanth
http://www.krishnasrikanth.com

php-objects@xxxxxxxxxxxxxxx wrote on 06/02/2008 09:49:08 AM:

> Hi,
> 
> The variables can be shared across sessions by putting them in 
> environment. You can store variables in $_ENV super global. You can use 
> getenv() and putenv() functions.
> 
> But be careful, while sharing critical info in env, because phpinfo() 
> shows all env variables. 
> 
> Regards,
> Manda Krishna Srikanth
> http://www.krishnasrikanth.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux