I'm working on a C# XNA project that requires me to display information based on the platform the game is on.
Is there a way to detect the platform (XBox, Windows, Zune) during run-time?
I was just reading http://stackoverflow.com/questions/1619930/how-to-check-users-leave-a-page earlier on when suddenly I thought of performing AJAX when user leaves the page to send analytical data back to the server.
Is performing AJAX on the onunload event a good or bad practice/implementation?