Hi,
how can I define a variable that can be seen by diferent user in diferent sessions.
For example, I need to define a variable (in memory - no Database) with an empty array at Apache start or at the first time an user arrives an specific php program.
Any user that calls this same program (in its separate session), could get this variable and add an item to the array (at logon for example).
All users could see who is logged on at the time.
At logoff, the program eliminates the item from this variable, maintaining the logged user list actual.
I´ve tried this using session_id, changing it´s name, but with no result.
How could I do this?
Thanks for any idea.
De Carli