#NEWLINE# def __init__( self , db , r_server , tablename , session_expiry , with_lock = False ) : #NEWLINE# #INDENT# self . db = db #NEWLINE# self . r_server = r_server #NEWLINE# self . tablename = tablename #NEWLINE# self . keyprefix = ( 'w2p:sess:%s' % tablename . replace ( 'web2py_session_' , '' ) ) #NEWLINE# self . serial = ( '%s:serial' % self . keyprefix ) #NEWLINE# self . id_idx = ( '%s:id_idx' % self . keyprefix ) #NEWLINE# self . session_expiry = session_expiry #NEWLINE# self . with_lock = with_lock