I have written some code in my WinDev Project...
Hope it can help you.
http://www.ogame.org/portal/?lang=org&frameset=1 is the right website to
log in.
Read the Result .htm file in a buffer. Read the timestamp and the v
hidden input fields.
call the /game/reg/login2.php for the right Uni... such as for the
"Universe 27" ogame601.de. with the parameters
?Uni=ogame601.de&login=*Username*&pass=*password* and pass with get the
Parameters timestamp and v
now in the next html-buffer you can read out the sessionid...
store it and you can access all the ogame websites... such as
http://ogame601.de/game/index.php?session=*session stored*
*** Sent via Developersdex
http://www.developersdex.com ***