# application variables

- Thread: https://externals.io/message/51715
- Original archive: https://news-web.php.net/php.internals/51715
- Started by Martin Scotta on 2011-03-16T18:50:19+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #51715 — Martin Scotta — 2011-03-16T18:50:19+00:00

URL: https://externals.io/message/51715#51715

Hi experts!

Is there any way to get application-level variables?

This is mostly done using a DBMS, but that implies a lot requirements (a DB
engine, a table, etc)

How do you share simple pair keys/values over an application?

* session_id + session_name ?
* serialize over a raw file

Cheers,

 Martin Scotta

---

## #51717 — Rasmus Lerdorf — 2011-03-16T19:05:07+00:00

URL: https://externals.io/message/51715#51717 · In reply to: #51715

Martin, this is a mailing list for the development of PHP itself. It is
not about userspace questions like this. Check out the php-general list
for that where this question has been asked and answered numerous times.

-Rasmus


> Hi experts!
> 
> Is there any way to get application-level variables?
> 
> This is mostly done using a DBMS, but that implies a lot requirements (a DB
> engine, a table, etc)
> 
> How do you share simple pair keys/values over an application?
> 
> * session_id + session_name ?
> * serialize over a raw file
> 
> Cheers,
> 
>  Martin Scotta
