umm ok..sending the form works well... but im trying to fill in a form in a website where logging in is required
i managed to log in using sockets... but as the form is timed, it may not be there when i just log in... and it seems that if i use a timer to fill in the form, the connection is lost and i get logged out

i noticed that theres this line in the script..
sockwrite -n $sockname Connection: close

does this mean that everytime the socket goes idle, the connection to the website closes? how do i remain logged in? the server uses php sessions and my session id will change each time a new connection is made.. so thats probably why i cant stay logged in..