Have a read off remote scripting, it might be useful to you

http://www.aspfree.com/authors/salim...escripting.asp