Let the development tomcats not run under localhost but under the network ip
adres (at least if that doesn't give you any security issues). Seems the
only solution in my eyes (don't have your app, so there could be better
ones..)

Mvgr,
Martin

> -----Original Message-----
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 15, 2002 22:20
> To: Tomcat Users List
> Subject: Using request.getRemoteAddr() with tomcat
>
>
> I need to store some information into a database that will store
> some unique
> information based on the computer that is accessing the application.  This
> works fine when clients are accessing the production server from different
> machines, but causes a problem when developers are running a copy
> of tomcat
> on their local machines.  Since everyone shares a database, all users that
> are developing are returning 127.0.0.1 for request.getRemoteAddr(), and
> causing multiple entries that are the same into the database.
>
> Does anyone know of a way that I can use request.getRemoteAddr() or
> something similiar to store unique information?  Can I change that IP
> address so that all development machines have a unique value?
>
> Brandon
>
>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to