will you be deploying the site on a windows server, too, or are you just developing on one?
why do you need to clear the table so regularly? i don't see why running the query every 1 in 20 times the page is called or so. That's how PHP clears old sessions.