In order to detect a couple of gotchas in my webapp i need to know what browser and version the client are using and the screen resolution.

How can i get this, is there a serverparameter to fetch for this?