OK, so with my script i specify a file so that each request that is sent the server knows where to locate the cookie. In that case, Why would the server send a response saying it could not set a cookie even though it is set to the cookies.txt file? Is it possible that the server only allows IE and Netscape browsers ( I have the ua set as Mozilla/4.0) I'm still stumped as to why it would not set this cookie. Very stange.