Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Block specific browser (Chrome, Firefox)

Created: 07 Jul 2013 | 5 comments
Patrick.Berchten's picture

Hi everyone

At our company we are using Workflow to request vacation automaticaly. The problem is, that Worfklow officialy only supports IE and not Chrome and Firefox. We have indeed problems when some user using another browser than IE (for example: the datetime attribut has wrong formation).

So my question is, does Workflow offers an option to read out which browser is used an eventually block them (Warning message or something like this)??

Symantec Workflow Version: 7.1.x

OS: mostly win 7/8

Thanks for your help :-)

Regards

Patrick

Operating Systems:

Comments 5 CommentsJump to latest comment

reecardo's picture

You could implement this pretty easy in a Web Forms flow.

Use a Get HTTP Request Value component and specify USER_AGENT as the variable to get. This component fetches the user agent string of the machine making a web request, and it exposes a lot of different things like browser, browser version, etc.

Once you have this, you can parse it to determine what browser is being used (MSIE = IE; Mozilla = Firefox). You can use an Index of Text Within Text component to do the parsing... if the index of "MSIE" is zero or greater, then the user is using IE.

If they have a bad browser, you can then direct them to a "bad browser" form.

Patrick.Berchten's picture

Hi reccardo

Thanks for your fast reply, I will try that out in our test enviroment.

Regards

Patrick

Patrick.Berchten's picture

Hi reccardo

I just tried to get the USER_AGENT variable but it does not work. Is it a prcess variable or another source?

Regards

Patrick

reecardo's picture

Variable to get should be HTTP_USER_AGENT (not just USER_AGENT... sorry for the mix-up)

TGiles's picture

We don't specify a specific browser that is to be used with Workflow. We fully support the use of Chrome or Firefox. To that point internally for Workflow we use Chrome or Firefox 95% of the time.