Jump to content

Recommended Posts

Another example from the "All about..." series. This time, about user's session info.

 

Some information is a little harder to find like your real IP. I´m note talking here about the IP address between client/server session but you Internet real IP. If you´re running your server and client in the same machine it will only result to localhost/127.0.0.1. Here (look at the image provided) the IP is my real connection to the public Internet and the local IP is my Network local IP. They are both different from uniSession.remoteIP info.

 

Another useful information is Geolocation that you can get a relative position via IP connection in most browsers device even without GPS available. This example shows how to do it and how to locate in Google maps (the easy part...). It's not precise as GPS is but you can easily resolve to the Country and and City by that retrieved info (coming soon in next version).

 

Have fun

Project available at https://www.unigui.express

post-4719-0-48374400-1533246334_thumb.png

  • Like 3
  • Upvote 3
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...
  • 2 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...