//server
//create global session object
Sessions = {}
//on each connection to the server
Meteor.onConnection(function(connection){
//instantiate a dictionary labeled with the connection's unique id.
Sessions[connection.id] = {clientData:{}, time: Date.now()};
connection.onClose(function(){
//forget the client when they leave
delete Sessions[connection.id]
})
})