Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-196

Make session creation optional on Front-End

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.1
    • Component/s: Front End
    • Labels:
      None
    • Additional information:
      Hide

      Additionally we should check how session (admin/front-end) is working when cookies are disabled in browser or one of 3 explicit session storage modes is selected (auto, query string, cookies).

      Show
      Additionally we should check how session (admin/front-end) is working when cookies are disabled in browser or one of 3 explicit session storage modes is selected (auto, query string, cookies).
    • External issue ID:
      237
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Currently on the front-end user session (tables UserSession, SessionData) is created no matter what user does. In particular simple site browsing even without form submission creates new session. When spider is indexing website, then session is also created, but spider isn't using cookies or javascript, that's why session is created for each indexed page. At the end of the day we have additional load on database server and a lot of expired session to clean up.

      I propose not to create session in case, when all data, that is stored in session could be easily obtained during page load without consuming additional web server resources. This will help us in cases, when user is not logged in.

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: