#NEWLINE# def process_request( self , request ) : #NEWLINE# #INDENT# key = request . cookies . get ( SessionCookie . default_cookie_id ) #NEWLINE# if ( not key ) : #NEWLINE# #INDENT# key = request . values . get ( SessionCookie . default_cookie_id ) #NEWLINE# #UNINDENT# serial_cls_path = settings . SESSION . serial_cls #NEWLINE# if serial_cls_path : #NEWLINE# #INDENT# serial_cls = import_attr ( serial_cls_path ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# serial_cls = None #NEWLINE# #UNINDENT# session = Session ( key , storage_type = self . session_storage_type , options = self . options , expiry_time = self . timeout , serial_cls = serial_cls ) #NEWLINE# request . session = self