Make session id generator configurable
The sessionfilter has the following function :
def generateSessionId(): s = '' for i in xrange(50): s += random.choice(string.letters + string.digits) s += '%s' % time.time() return sha.sha(s).hexdigest() }}}
It'll be nice if we could configure it a bit. Like for instance being able to specify which encryption to use (sha, md5, etc.) And maybe being able to totally change the way it computes an id.
I'm not sure how realistic this is though.
Besides that, it is quite bad to do a string concatenation. We should build up a list and simply apply join on it at the end.