Hi there
I'd like in each BANano.CallInlinePHPWait call I do, add a token on the request header, to be processed on the PHP side.
Scenario.
- A user logs in, the server generates a token, records it for this user and then gives this to the user. I can do this as part of the return result from the server user verification process or via a header. Not sure.
- The user receives the server generated token and save it to local storage / cookie
- Any CRUD calls to the server will send this token, the server verifies if token is valid before processing CRUD request.
Im thinking that perhaps using request headers for such could be viable, so im just thinking aloud. Any ideas?
Thanks in advance