Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: uniquly identifying a system

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question uniquly identifying a system

    hi,

    i am not able idenitfying particular system accessing my application.

    i tried ipaddress but one ip address can share by many systems and dynamic ip also one problem.
    i tried to pass browser cookies but if the user delete the cookies then i cannot identify the system.

    plz give any idea regarding this problem


    thanking you,
    nagendar panaganti


  2. #2
    Junior Member
    Join Date
    Oct 2013
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: uniquly identifying a system

    Simple you use the getProperty function. In this example I get the OS name and store it in the String os, then in the main method I print the OS to the console

    public class GetOS {
     
    	public static String os = System.getProperty("os.name");
     
    	public static void main(String[] args) {
    		System.out.println(os);
    	}
     
    }

Similar Threads

  1. Identifying something on screen.
    By cgskook in forum Java Theory & Questions
    Replies: 1
    Last Post: May 24th, 2013, 08:02 PM
  2. Identifying OO elements in this scenario
    By vinayjava in forum Object Oriented Programming
    Replies: 6
    Last Post: December 26th, 2012, 04:00 AM
  3. recursion for identifying amount of zeroes in minesweeper demo
    By Nightingale in forum Algorithms & Recursion
    Replies: 1
    Last Post: November 28th, 2011, 03:33 PM
  4. Identifying invalid calls
    By joshft91 in forum Object Oriented Programming
    Replies: 1
    Last Post: February 26th, 2011, 05:38 PM
  5. Identifying calling object
    By frogfury in forum What's Wrong With My Code?
    Replies: 6
    Last Post: October 25th, 2010, 06:13 PM