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

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

am 28.02.2005 15:51:37 von asetti

------=_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--

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

am 28.02.2005 17:16:20 von Andy

On Mon, Feb 28, 2005 at 03:51:37PM +0100, Andrea Setti (asetti@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@petdance.com => www.petdance.com => AIM:petdance