Detemining Client Browser Being Used
Posted: Thu Aug 18, 2011 2:38 pm
Hi Folks,
We have 3.0.8 of PUI installed and I am completing a fairly complex proof-of-concept application for management signoff on product acquisition. My application has mutiple chart widgets in use and they of course will not render on an iPad/Mac because of Apple's lack of support for Flash.
I would like to put in some RPG logic to display other screen objects in place of the charts if the client web browser is being used on an iPad or Mac (i.e. if Safari is being used). Is there any kind of environment variable within PUI that I can make known to my RPG app via a variable that will tell my app that Safari is being used so I can display the Safari-specific screen objects in place of the charts?
Thanks,
Marc Vadeboncoeur
Astro-Med, Inc.
We have 3.0.8 of PUI installed and I am completing a fairly complex proof-of-concept application for management signoff on product acquisition. My application has mutiple chart widgets in use and they of course will not render on an iPad/Mac because of Apple's lack of support for Flash.
I would like to put in some RPG logic to display other screen objects in place of the charts if the client web browser is being used on an iPad or Mac (i.e. if Safari is being used). Is there any kind of environment variable within PUI that I can make known to my RPG app via a variable that will tell my app that Safari is being used so I can display the Safari-specific screen objects in place of the charts?
Thanks,
Marc Vadeboncoeur
Astro-Med, Inc.