There are built in methods/objects for dealing with both cookies and http
authencation. It can even handle x509 cert.
see
HttpWebRequest.Credentials
HttpWebRequest.ClientCertificates
HttpWebRequest.CookieContainer
So if you wanted to simulate a session, you'd have to hold onto an instance of a
cookie container, and make sure that you use that container for every request.
HTH
Erick
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Eric Thompson
> Sent: Tuesday, November 25, 2003 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Robots] robot in python?
>
>
> Anyone know the best method for simulating session with
> .net/C#? This maybe
> built into the framework I don't know. Any suggestions?
>
> -E
>
>
> Me again,
>
>
> >Still wonder how to handle logins, though...
> >
>
> In case anyone else is interested, and for the archives...
> John J. Lees
> ClientCookie module is excellent for handling cookies and
> other kinds of
> session data. Here: http://wwwsearch.sourceforge.net/ClientCookie/
>
> cheers
>
> /petter
>
> _
> Set yourself up for fun at home! Get tips on home
> entertainment equipment,
> video game reviews, and more here.
> http://special.msn.com/home/homeent.armx
>
> ___
> Robots mailing list
> [EMAIL PROTECTED]
> http://www.mccmedia.com/mailman/listinfo/robots
>
___
Robots mailing list
[EMAIL PROTECTED]
http://www.mccmedia.com/mailman/listinfo/robots