Defining a New Browser User Agent Type


Consider the following scenario, which illustrates the value of this information. A user has a Tungsten T, which is a Palm OS 5 device. This device comes with a browser called Web Pro, made by Novarra. The Web Pro browser uses a proxy server, and the proxy server helps make HTML pages digestible to the Web Pro browser. Either the Web Pro can use normal HTML, with frames and the like, or it can use simple HTML. When the user uses the Web Pro browser to visit WebAccess using the simple HTML templates, the performance is much better than when using the regular HTML/Frames templates.

When the user first used GroupWise WebAccess with the Web Pro browser, the performance was very slow. You then instructed the user to change the URL on the Web Pro browser to indicate to WebAccess that the device was using a simple HTML browser. The WebAccess session's performance becomes much better. Following is the syntax the user used to force the WebAccess Application to serve up simple HTML:

http://groupwise.wwwidgets.com/gw/webacc?User.interface=simple

Typing this long URL once and then bookmarking it is not too difficult, particularly for a technical person. But imagine you have a bunch of users who want to access GroupWise WebAccess from their Tungsten T. Wouldn't it just be better to have GroupWise WebAccess detect the Web Pro browser type, and then give the users the simple HTML templates automatically? Of course. So here's how you can do this:

1.

In ConsoleOne, edit the GroupWiseWebAccess Object from the eDirectory browser view. This is the WebAccess application's GroupWise WebAccess object.

2.

From the Application tab, select the Templates property page.

3.

Click the Define User Interfaces button.

4.

Go to the Browser User Agents tab and click the Add button.

5.

Enter *WebPro* in the Browser User Agent field.

This means that if the browser identifies itself to the web server with a string that contains WebPro, the WebAccess Application correlates it with the Browser User Agent defined in step 5.

6.

Change the User Interface drop-down list box to read Basic HTML.

If a web browser identifies its Browser User Agent information with a string that contains WebPro, the WebAccess application uses simple HTML templates.

You must stop and restart the web server and the Java servlet gateway that are hosting the WebAccess application for these changes to take place.



NOVELL GroupWise 7 Administrator Solutions Guide
Novell GroupWise 7 Administrator Solutions Guide
ISBN: 0672327880
EAN: 2147483647
Year: 2003
Pages: 320
Authors: Tay Kratzer

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net