Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use Session Agent on Servlet

 
Ankush Deshmukh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i with the help of session agent can get the information about user's country
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic