• Post Reply Bookmark Topic Watch Topic
  • New Topic

Its about uniqueIDs again! This is starting to get to me.

 
Ian Strain
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok I created a game. When a user goes to the wap site to download the game I have created a servlet that generates a uniqueID and then creates a java file with the uniqueID in it..
public final class GameProperties {
public final static long userID = " + userID + "L;\n" +
"\tpublic final static int gameID = " + gameID + ";\n" +
"\n\tpublic long getUserID(){\n" +
"\t\treturn userID;\n" +
"}" +
"}";
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!