get session data using session id django code example Example: django set session variable request.session['idempresa'] = idempresaValue