PEATSA/WebApp/UtilityFunctions.py
def GetNewSID(tag):

	'''Returns a unique string for use as a Session ID'''
	
	t1 = time.time()
	t2 = t1 + random.random()
	base = md5.new( tag + str(t1 +t2) )
	sid = tag + '_' + base.hexdigest()
	return sid
Returns a unique string for use as a Session ID
Returns a unique string for use as a Session ID
Returns a unique string for use as a Session ID
def GetNewSID(tag):
	t1 = time.time()
	t2 = t1 + random.random()
	base = md5.new( tag + str(t1 +t2) )
	sid = tag + '_' + base.hexdigest()
	return sid
def GetNewSID ( tag ) : t1 = time . time ( ) t2 = t1 + random . random ( ) base = md5 . new ( tag + str ( t1 + t2 ) ) sid = tag + '_' + base . hexdigest ( ) return sid
Returns a unique string for use as a Session ID
Returns a unique string for use as a Session ID
'''Returns a unique string for use as a Session ID'''
tag