storing requested uri in session

session[:uri] = request.request_uri