File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to use Session Agent on Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to use Session Agent on Servlet" Watch "How to use Session Agent on Servlet" New topic

How to use Session Agent on Servlet

Ankush Deshmukh

Joined: Dec 12, 2000
Posts: 8
How can i with the help of session agent can get the information about user's country
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I don't really understand what you are asking, but bear in mind that unless a user has manually chosen to tell you which country he is from, there is no way for your application to know. The world-wide-web is indeed world-wide with no idea of where a server machine, a client machine or a user is located.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Consider Paul's rocket mass heater.
subject: How to use Session Agent on Servlet
Similar Threads
HTTPSession vs Stateful Session Bean
Session Management
swing client->web tier, how to handle session and security?
Tasks about Travel Agent