How to adjust screen size for different users machines?

Hello all,
I am not sure what the proper terminology is, but how can a web app know what platform the guest is using to view/use the app? For example a guest using Win7 is likely to have one size screen, as compared to a guest using iOS on a iPhone or yet another using iOS on an iPad will have two different size screens. The application should auto adjust to a best fit, or even serve a different form that has a different layout.

Not sure how to know what the user has, and also best practice to provide a screen/form that will work best for their viewing. Can anyone suggest some ideas?

Thank you,
Tim

[quote=18313:@Tim Seyfarth]Hello all,
I am not sure what the proper terminology is, but how can a web app know what platform the guest is using to view/use the app? [/quote]

See http://documentation.xojo.com/index.php/WebSession

Will do, thank you Norman!
Tim

That was exactly what I was looking for. I had not been able to find that, probably because I did not know the correct search terms. Are there any best practices for adjusting/handing multiple browser types and screen sizes?

Thanks again!
Tim