views:

40

answers:

1

Hi. I need a way to determine if user is on server OS or is using terminal connection (remote desktop) to view the site. I need this to turn off all animations and other stuff.

The best i can do is to determine os from UserAgent, but there is no difference between Windows 7 and Windows Server 2008. I can check color depth on user machine also.

Is there a better way to do this?

+3  A: 

The best way probably is not try to auto-detect the environment that is less capable of handling some visual effects but give the user the possibility to switch into a less resource-intensive mode with an option somewhere on the page.

Most of the server & remote desktop users are more advanced than typical desktop users and more often looking for possible performance improvements (I personally instinctively turn off all the visual effects whenever I am connecting via remote desktop to a machine), so they will be willing to accept the option and placed wisely it won't distract the others.

In case you really want to detect user agent's setup, you could probably somehow try to measure javascript's performance or color depth as you've written. But I would really avoid this if you can.

Thomas Wanner
Yep, i think i should do it like you say. Anyway it seems that there is no way to determine it programmatically for sure.
maxt3r