|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Sharing Server-Side Info Among Sessions
I'm trying to perform some one-time loading of data that can be shared among all of the sessions that access my site (PHP on Apache). How can I store this info so that it is accessible to all sessions?
|
|
#2
|
|||
|
|||
|
RE: Sharing Server-Side Info Among Sessions
Commonly called "application variables", here is a good article about it:
http://php.weblogs.com/php_application_variables |
|
#3
|
|||
|
|||
|
RE: Sharing Server-Side Info Among Sessions
OK. So there's no built in support for application variables, then? No wonder I couldn't find anything on it in the documentation.
|
|
#4
|
|||
|
|||
|
RE: Sharing Server-Side Info Among Sessions
I think such a thing can be done using a database table containing those vars, no ?
|
|
#5
|
|||
|
|||
|
RE: Sharing Server-Side Info Among Sessions
A DB would work fine. I'm acutally using a flat file right now. But I was wondering if there was any _built_in_ support and it sounds like there isn't...
|
|
#6
|
|||
|
|||
|
RE: Sharing Server-Side Info Among Sessions
Yes you'r Right althought it could be usefull
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Sharing Server-Side Info Among Sessions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|