From 0b8dcea37a36c4eb6bd623dbd59e04a881574a8e Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 4 Aug 2021 22:04:33 +0200 Subject: [PATCH] Reword a comment. --- core/http/session_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/http/session_manager.cpp b/core/http/session_manager.cpp index df91e0a..a8c1996 100644 --- a/core/http/session_manager.cpp +++ b/core/http/session_manager.cpp @@ -117,14 +117,14 @@ void SessionManager::session_setup_middleware(Object *instance, Request *request const std::string &sid = request->get_cookie("session_id"); if (sid == "") { - //You could create a session here if you want to always have sessions + //You could create a session here if you want to always assign sessions to visitors. //Example code: //HTTPSession *session = SessionManager::get_singleton()->create_session(); //request->session = session; //request->add_cookie(::Cookie("session_id", session->session_id)); request->next_stage(); - + return; }