title: Meteor: Session is not defined
body: <p>I am learning meteor and following <a href="http://meteortips.com/first-meteor-tutorial/sessions/" rel="nofollow noreferrer">this</a> link.</p>
  
  <p>When I use <code>Session.set</code>  it gives me error <code>Session is not defined</code> in console<br></p>
  
  <p>My code of main.js file within client folder is following<br></p>
  
  <pre><code>PlayersList = new Meteor.Collection('players'); 
  
   if(Meteor.isClient) {
       Template.leaderboard.events({
          'click .playerName  ': function(){
              var playerId = this._id;
              Session.set('selectedPlayer', playerId);
          }
       });
   }
  </code></pre>
  
  <p>I don't know what I am doing wrong<br></p>
  
  <p>I already read <a href="https://stackoverflow.com/questions/17092565/meteor-session-is-not-defined">this</a> post.</p>
  
  <p>My file is inside client folder and code also inside <code>isClient</code> condition.
  Still it giving me error.</p>