Can anyone tell me how/or point me to a good article that will show me how to pass a javascript variable value to the server using remote scripting(XMLHTTP). Here is what I want to do.

1) Using JavaScript I want to detect the users screen size and resolution
2) Pass that data back to the server and trigger a subroutien that will write that data as well as the other browser capabilities to a database.

This will be part of a user control that I am developing so of course all server side code will be in the code behind class. The language is VB.Net

Any help would be greatly appreciated.