Something like this would help you:
To maintain the session, you can get the cookie and then use it in subsequent requests.
It looks like you're new here. Sign in or register to get started.