i hava a class that hold a list for each request
but each request the list is empty again
what can i do to make it live
here is my class , i want the list to hold values from previews requests
(yes each request i’m settings a value there )
class Sessions{
private static $list = array();
....
.....
}
It’s supposed to be like that. Every request is independent and restarts whole program. Use sessions to store data between requests.