Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 292

Show
Ignore:
Timestamp:
06/11/05 18:03:47
Author:
lawouach
Message:

Fixed a mistake in the previous changeset in the basesession generateSessionKey

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/lib/filter/sessionfilter/basesession.py

    r291 r292  
    9898        else: 
    9999            s = [random.choice(string.letters+string.digits) for i in xrange(50)] 
    100             newKey = sha.sha(s).hexdigest() 
     100            s.append('%s'%time.time()) 
     101            newKey = sha.sha(''.join(s)).hexdigest() 
    101102         
    102103        return newKey 

Hosted by WebFaction

Log in as guest/cpguest to create tickets