I am using swings as front end. I am using HttpURLConnection class to get connected to a url which has login page. Once I send the request using POST method with login credentials, I am able to see the response and it workds fine. Now if I send another request to read some other content, the response from that new page is not as expected but displays that login information is missing to reach that page.
From my understanding, the session has to be maintained to keep the login details in tact so that it will not display login details missing.
Can anyone of you tell me how to maintain session information to work around this problem in swings