[Project_owners] Post form and process header respons

Jesper Staun Hansen jesper at selvet.dk
Wed Jan 2 06:27:11 PST 2008


Hello all.

First, happy new year :)
I want to make something for my extension that allows my extension to 
login to a site when firefox is started and relogin if the cookie expires.
But... I am a bit on cold ground here, as I dont really know where to 
start off.

1st I do know that I need to check against a static page if the user 
should have been thrown off.
2nd And I do know that I need to POST user & password & a dynamic UserID 
& two other static data's.
3rd Before I can POST, then I need to GET the login page with the 
dynamic UserID on a HTML page, so I'll need to do some text.regexp().
4th Save the cookies into firefox's cookie cache.

The problem for me is 2nd point where I need to POST.
Any ideas?



More information about the Project_owners mailing list