[problem solved] Problem with login system and session


#1

Hi,
i new user of Ionic. I use ionic3 and angular4.
Now, i have a problem. I have web application in JAVA with login system. In web browser work’s all fine. But now i want create mobile version of my portal. Now i want add User Login in my mobile app and i have a problem, becasue when send user credential to java i success auth but after when i call to java service i don’t hava a session and got error with user is not login. How in Ionic save and store session from login response and use this session id to next request?

sorry for my english :wink:


#2
let options = new RequestOptions({
        withCredentials: true
});

and now is working
sorry for my question…