django store object in session code example Example: django set session variable request.session['idempresa'] = idempresaValue