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

Changeset 1904

Show
Ignore:
Timestamp:
02/29/08 11:30:36
Author:
fumanchu
Message:

Fix for #792 (Invalid session id in cookie).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/lib/sessions.py

    r1886 r1904  
    286286        automatically when using sessions.init (as the built-in Tool does). 
    287287        """ 
     288        if 'storage_path' in kwargs: 
     289            kwargs['storage_path'] = os.path.abspath(kwargs['storage_path']) 
     290         
    288291        for k, v in kwargs.iteritems(): 
    289292            setattr(cls, k, v) 
     
    298301                 "only running one process, then you may need to " 
    299302                 "manually delete the lockfiles found at %r." 
    300                  % (len(lockfiles), plural, 
    301                     os.path.abspath(cls.storage_path))) 
     303                 % (len(lockfiles), plural, cls.storage_path)) 
    302304    setup = classmethod(setup) 
    303305     

Hosted by WebFaction

Log in as guest/cpguest to create tickets