HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How would I go about doing this?? Posted by dauve on 2 May 2001 at 9:30 AM
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

Report
Re: How would I go about doing this?? Posted by iDaZe on 3 May 2001 at 5:41 AM
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
:





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.