How would I go about doing this??

K here's the situation:

At work, we are running a javascript which is used by a user through netscape to get access to a database. After accessing the database the script then allows the user to logon on by entering his/her ID and then another unique ID.

In the script we use java.net.InetAddress.getLocalHost().getHostName to get the user computer's name, which is then used to do another look up in the database.

Now the problem is:

We are switching over to "Billy's Internet Explorer" and it seems to be that Billy doesnt support the previous method to find the Host name. . . So now we have to figure out what we can use instead of javascript; to obtain the hostname?!??!@#?@!?#

any ideas . .on any methods in javascript or Billy's Jscript . . or some other language that would be easy put into production with out any hassle of compiling . .time lag. .etc.

p.s. we are using AIX, and the users are on Windows 2000

thanks

dave

Comments

  • Sorry, but this can't be done with JavaScript ... you need ASP, PHP or CGI.
    All are fairly quick and easy to implement (if you got the proper stuff to execute them)


    : K here's the situation:
    :
    : At work, we are running a javascript which is used by a user through netscape to get access to a database. After accessing the database the script then allows the user to logon on by entering his/her ID and then another unique ID.
    :
    : In the script we use java.net.InetAddress.getLocalHost().getHostName to get the user computer's name, which is then used to do another look up in the database.
    :
    : Now the problem is:
    :
    : We are switching over to "Billy's Internet Explorer" and it seems to be that Billy doesnt support the previous method to find the Host name. . . So now we have to figure out what we can use instead of javascript; to obtain the hostname?!??!@#?@!?#
    :
    : any ideas . .on any methods in javascript or Billy's Jscript . . or some other language that would be easy put into production with out any hassle of compiling . .time lag. .etc.
    :
    : p.s. we are using AIX, and the users are on Windows 2000
    :
    : thanks
    :
    : dave
    :


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion