def get(self):
    self.sess = sessions.Session()
    if not 'viewCount' in self.sess:
      self.sess['viewCount'] = 1
    else:
      self.sess['viewCount'] = int(self.sess['viewCount']) + 1
    self.response.out.write('viewcount is ' + str(self.sess['viewCount']))
dataset/ETHPy150Open joerussbowman/gaeutilities/main.py/AjaxSessionPage.get/original