Encrypt the value before you send it and decrypt it when you get a request.
Aug 13, 2017
7
Level 2
Use session in Laravel API when frontend is Vuejs2
Hi, I have written an application that backend is laravel and frontend is Vuejs2. backend and frontend are totally separated and comunicate to each other with JSON. I want to store a session in laravel and put something like reserve_id in session and track the user with this reserve_id. Although I can't send reserve_id to user because it's not safe so I can't just store it in localstorage. please help! Thanks
Please or to participate in this conversation.