Making posts to an ASP.NET webform.
Bernard
bernard.chhun at gmail.com
Mon Oct 2 12:05:03 EDT 2006
Max M wrote:
> Bernard skrev:
>
> > Has anyone tried what I'm doing? and if you tried how have you
> > succeeded getting the data back after the post action?
>
> Most likely you get assigned a cookie that you then need to return.
>
> Try the cookielib which automates all this for you.
Yea I'm already using it. I set the cookies before making the server
request. its name is ASP.NET_SessionId.
I've tried setting it on & off during my various tests but I still get
the "urllib2.HTTPError: HTTP Error 500: Internal Server Error" message.
thanks for the response by the way :)
More information about the Python-list
mailing list