I'm using volley to send requests to my web server. First I post a username and password to a url like /login/. Second I want to get the information of that user, which can be obtained via url like /getUser. the first request is finished with 200 status code and sends back a response indicating successful login, but when I'm trying to send the second request in onResponse callback of the first request, it appears that the user is no longer logged in.
I also tested the web server with postman and it works properly.