i am building a frontend application with angular 7
i have build a middleware pure php inside angular project
that when angular need to send http request to backend, will send the request to php middleware and the php will process the request level and then send it to backend
the problem is i need to save value in php session on all request level but in each request the session is reset and any value that have it from previous session will be removed
the php middleware is a part of client not server so session must be unique for this client
what the problem and what i should to do
i haven't add any code cause i read and write to session normally nothing special