Question : Automatically run VB script upon entering web page

We are implementing a cisco vpn solution and what I am wanting our users to be able to do is this.

Go to https://vpn.domain.com
This checks to see if the vpn client is installed
Next the ASA redirects the browser to a page on our intranet that will map their network drives automatcially by using a vbs scriipt .

What I am wanting is for that vbs script to run automatically once thay hit that page.

Answer : Automatically run VB script upon entering web page

Hi, JNapier010.

Triggering the script is simple, but mapping drives with it is impossible.  You can trigger code on a web page by using the OnLoad event of the page's Body.  But, script on a web page cannot do things like map drives.  If that were possible, then surfing the Internet would be even more dangerous that it is now from a security perspective.  That's mean that any site out there could add code to a page that'd map drives, collect information, etc.  It is possible to run code from a page and have it do things like map a drive, but that only works by putting a link to the code on the page and having the user click it.  They then have to select Run from the security dialog before anything happens.  
Random Solutions  
 
programming4us programming4us