[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Information about the client  XML
Forum Index -> Development
Author Message
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Hello,

is there any way to find some information about the client who sent the request. We want to save the ip address of the client who started some action in the database.

Any suggestions?

Tobias
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

...I thins you can get this information from the http request that you can access within the request processing, something like getHost() or so...

Björn

Björn Müller, CaptainCasa GmbH
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Yes, right. We already did this.

But is there more information available like the language of the operating system of the client. Would be nice if we can choose the right language for our application depending on the client environment.

Tobias
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5520
Offline

The next beta (tomorrow) will include the following two http-header parameters:

eclnt-country
eclnt-language

These are the ISO codes which correspong to the Locale of the client. You also can set the parameters when starting the client in order to override the default JRE's parameters. Start parameters can be passed from JNLP file and by applet parameters (+ by command line parameters).

Björn

Björn Müller, CaptainCasa GmbH
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Great!

Thanks!

Tobias
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team