Acessing the web from android application
<p>This isnt specifically a programming question, more on the logic.</p>

<p>Basically I have a website which I am making an android app for. On the app I want the user to be able to login by entering their username and password to the prompt on the app. When the user clicks login the data is POSTED to the site URL. 
This is where I am a bit lost... how then does the app know whether the login was successful or not, and, if successful, I want the app to show then another form or whatever for the user to be able to post new content to the site, which will be POSTED again. I'd imagine this involves retrieving a cookie to check for authentication? Would I have to set up a custom response page? And how would the app maintain the session?</p>
