Skip to Content
0
Dec 04, 2020 at 09:49 PM

SAPUI5 - HTTP Session not working

49 Views

I'm building a simple SAPUI5 app.

The app requests data from a back-end server, written with Java EE. I use Servlets as endpoint, because I want to maintain a session but it seems not to work.

When I call a servlet after login, the method

request.getSession(false)

in the servlet returns null.

When I test the back-end server with Postman, it works.

I really don't know how to solve.

I'm using SAP Web IDE Personal Edition.

Thanks in advance.