Cookies not set in local environment
Answered
I have an API, when I deployed the code into the server and hit the API the session stored in my browser (in this case I used postman). But If I to do the local debug of my API the sessions are not stored in my browser. Please your advice and help
Please sign in to leave a comment.
Please provide the exact steps to reproduce the issue and the sample project.
1. I invoked my login API in the server through Postman. And session id stored in my browser cookies (in this case the postman itself). And I used the session id from cookies for the next purpose (etc: doin business thing).
other cases:
1. I run and debug the same login API in my local environment. When trying to invoke this API through postman too, the session not stored in cookies browser. So I can't doin my business thing which using that session.
The question is :
1. Why my process from the IDE does not save the session into a cookie? since my process in the server succeeded saved it. Is there any settings need to do?
Please advice
thank you
The issue is not clear. What app server do you use? What is the run/debug configuration type? Please upload a sample project at https://uploads.services.jetbrains.com/ and specify the file name here.