parameters: (self, expire_ts=None, ssl_only=False)
return_statement: return ('%010d' % expire_ts) + sep + hashlib.md5(os.urandom(16)).hexdigest()
docstring: Returns a new session ID.
docstring_summary: Returns a new session ID.
docstring_tokens: Returns a new session ID .
function: def __make_sid(self, expire_ts=None, ssl_only=False): 
          """Returns a new session ID."""
          print 'session: __make_sid'
          if expire_ts is None:
              expire_dt = datetime.datetime.now() + self.lifetime
              expire_ts = int(time.mktime((expire_dt).timetuple()))
          else:
              expire_ts = int(expire_ts)
          if ssl_only:
              sep = 'S'
          else:
              sep = '_'
          return ('%010d' % expire_ts) + sep + hashlib.md5(os.urandom(16)).hexdigest()
function_tokens: def __make_sid ( self , expire_ts = None , ssl_only = False ) : print 'session: __make_sid' if expire_ts is None : expire_dt = datetime . datetime . now ( ) + self . lifetime expire_ts = int ( time . mktime ( ( expire_dt ) . timetuple ( ) ) ) else : expire_ts = int ( expire_ts ) if ssl_only : sep = 'S' else : sep = '_' return ( '%010d' % expire_ts ) + sep + hashlib . md5 ( os . urandom ( 16 ) ) . hexdigest ( )