You need to sign in to do that
Don't have an account?
Saravanan @Creation
To get the IP address of the local system.
Hi All,
when I am loading a visualforce page, I want the local system IP address to be printed on the screen .Is there any way to do this?.
If any example with code will much appriciated.
Above is some code to get you started. You will need to add it to your controller or controller extension.
All Answers
Above is some code to get you started. You will need to add it to your controller or controller extension.
Thanks for your reply,
can you brefiely explain me what is caching.And I want the Mac address of the local system.
For caching on force.com, see this documentation.
I don't think you will be able to display the MAC address of the local system for technical reasons. Basically, the MAC address is at the data link layer of the OSI model and as such won't be accurate at the next hop down from the orignal machine as the next device (host/gateway/router) will put their MAC address in that place.
I could be wrong and the MAC address could be in a header but I seriously doubt it.