well remove this part
PHP Code: 
   if(!file_exists(dirname(__FILE__).'\fisocookie.txt')) 
& let the script login each time, reason i am saying this is, FSO cookies get expired at random time & this script wont work & ppl would start blamming that this script doesnt work