dougconran
Technical User
I need to automate a login (with the site's permission!) to a menu page, drill down from that menu page to a detail page and display that page on a user's browser. The detail page then has links to further information on the same server that the user may wish to access.
I've managed to get as far as logging in, drilling down to the detail page and displaying that but when the user clicks on a link in that page he is returned to the login page.
I know that the site controls access using cookies which, effectively, track a session id through the various accesses.
What I need to be able to do is to pass the cookie that I got when the application logged on over to the browser, presumeably at the time that the retrieved detail HTML page is printed to STDOUT.
I can't work out how to do that (so far).
Although the links are relative urls in the original page I convert them to a full url so that is not hte problem.
Can anyone help?
TIA
Doug
I've managed to get as far as logging in, drilling down to the detail page and displaying that but when the user clicks on a link in that page he is returned to the login page.
I know that the site controls access using cookies which, effectively, track a session id through the various accesses.
What I need to be able to do is to pass the cookie that I got when the application logged on over to the browser, presumeably at the time that the retrieved detail HTML page is printed to STDOUT.
I can't work out how to do that (so far).
Although the links are relative urls in the original page I convert them to a full url so that is not hte problem.
Can anyone help?
TIA
Doug