Thread View: aus.computers.java
2 messages
2 total messages
Started by Ben Holko
Mon, 10 Jan 2000 00:00
Obtaining IP address of an HTML visitor
Author: Ben Holko
Date: Mon, 10 Jan 2000 00:00
Date: Mon, 10 Jan 2000 00:00
19 lines
1094 bytes
1094 bytes
Hi all, I need to add a script that can obtain the IP address of a PC that visits a particular webpage. It must work on NS or IE, so Javascript is not an option. I've found several Java class files that claim to return the address, but they all seem to return localhost/127.0.0.1, whereas I need the actual IP of the machine. Can anyone help me with this one? Thanks, Ben. -- Ben Holko Network Administrator MECC bholko@mecc.aust.com
Re: Obtaining IP address of an HTML visitor
Author: Terry O'Keefe
Date: Tue, 18 Jan 2000 00:00
Date: Tue, 18 Jan 2000 00:00
31 lines
1526 bytes
1526 bytes
Ben Holko wrote:
>
> Hi all,
>
> I need to add a script that can obtain the IP address of a PC that visits a
> particular webpage. It must work on NS or IE, so Javascript is not an
> option. I've found several Java class files that claim to return the
> address, but they all seem to return localhost/127.0.0.1, whereas I need the
> actual IP of the machine.
>
> Can anyone help me with this one?
>
> Thanks,
> Ben.
>
> --
> Ben Holko
> Network Administrator
> MECC
> bholko@mecc.aust.com
You need a servlet to do this, Let me know if you can't find it.
--
Regards,
(signed) Terry O'Keefe
Terry Comms Pty Ltd
Satellite & Data Networking Systems
Tel: +61 8 9245 9064
Fax: +61 8 9245 4236
see www.terry-comms.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads