Check client side browser

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Check client side browser

#1

Postby Segi » Tue Jan 13, 2015 5:32 pm

I would like to be able to check the client side browser to see if the end user is using Internet Explorer and take action if they are.

I know how to do this on the client side in JavaScript but is there a way to do the same on the server side ?
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Wed Jan 14, 2015 7:27 am

You can use the client object from a server side script to check the browser type. There are a number of explicit methods provided e.g. for Internet Explorer:

Code: Select all

if (client.isIE())
..
0 x


Who is online

Users browsing this forum: No registered users and 10 guests