Help!! I'm stuck! - using LWP for single sign on purposes

------=_NextPart_000_001C_01C51DAD.6314EA70
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

hi list!

i need your help:

i use LWP to fetch a login page, that i need to fill out and re-send to the
server in order to authenticate an user in a Single Sign-On environment.

i need to fetch some input type's values from the original login page, put
username & password and then send everything via POST to the server.

i have two problems:

1. how can i make a post request?
2. when i fetch data, i also need to fetch a cookie, that contains the
session ID.how can i "foward" it to the browser?

thanks a lot!!



------=_NextPart_000_001C_01C51DAD.6314EA70--
asetti [ Mo, 28 Februar 2005 15:51 ] [ ID #669138 ]

Re: Help!! I'm stuck! - using LWP for single sign on purposes

On Mon, Feb 28, 2005 at 03:51:37PM +0100, Andrea Setti (asetti [at] eonegroup.it) wrote:
> i use LWP to fetch a login page, that i need to fill out and re-send to the
> server in order to authenticate an user in a Single Sign-On environment.
>
> i need to fetch some input type's values from the original login page, put
> username & password and then send everything via POST to the server.

Look at WWW::Mechanize for taking care of most of this for you.

--
Andy Lester => andy [at] petdance.com => www.petdance.com => AIM:petdance
Andy [ Mo, 28 Februar 2005 17:16 ] [ ID #669139 ]
Perl » perl.libwww » Help!! I'm stuck! - using LWP for single sign on purposes

Vorheriges Thema: Mechanize - redirect problem
Nächstes Thema: WWW::Mechanize and authentication