cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
522
Views
0
Helpful
2
Replies

How can we add a line to the Cisco's JavaScript?

whitblauvelt
Level 1
Level 1

For a WebVPN connection, we need to add one line of JavaScript as follows:

ax.ColorDepth = params["bpp"];

ax.AdvancedSettings.PluginDlls = "WtsFtpClientDll.dll"  <===line to be added.

CSCO_WebVPN["call"](ax,"Connect")();

The plugin DLL we need to invoke here allows users to save files from a remote desktop session in the VPN to their local system. This works very well with other SSL WebVPN variants, but we're at a loss as to how to add this one line so it will with a Cisco. The ASA manual gives various ways to modify the HTML. What is required to add this line to the JavaScript code on the Cisco?

Thanks.

2 Replies 2

Does this link help?

 

http://www.cisco.com/en/US/products/ps6120/products_tech_note09186a008094abcb.shtml

Thanks Jason. We'd seen that. As far as we can make out, that allows

changing the HTML, but provides no way to insert a line of JavaScript into

the JavaScript stored on the Cisco. Apparently that is static, and there's

no way to update it or substitute for parts of it.

In our case, we were needing to get file transfer working between server and

client using RDP through the Cisco. To do that via browser plugins, the

extra JavaScript was required to call the right DLL on the client systm.

We've found that using the Cisco's port forwarding and the native Windows

RDP client works at least as well, and file transfer does work by this

method.

Whit

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: