* Thus wrote php chucker ([EMAIL PROTECTED]): > I'm writing some code to login into my favorite sport site to get stats. I > get logged in ok with the post request showing my username and password, the > response screens welcomes me by name. However when I send a second request > immediately after the successful login, I'm being told I need to login. I > thought perhaps it might be cookies, so I tried setting the cookies to the > values previously set on the first attempt, but no luck.
It could be that your missing a cookie. The website might be sending a cookie when you request the login page. Or you might not be sending the value back to them properly. It's really hard to say without observing the whole login process and observing how they handle your session accross they website visit. Liveheaders and firebird could help out in finding out what they're sending and when. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php