Uploaded image for project: 'Project Simple'
  1. Project Simple
  2. ST-238

Application Session to be marked as Read Only

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Component/s: Performance
    • Labels:
      None
    • Module:
      Platform - Performance
    • Reported by:
      Support
    • Item State:
      Production Complete
    • Issue Importance:
      Must Have

      Attachments

        Activity

        Hide
        saurabh.sablaka Saurabh Sablaka (Inactive) added a comment -

        Implementation details:
        ASP State acquires Read / Write lock for any request that uses Session by default. In our application, at number of places we only need to read from session and not make any write operation. For these calls we have modified the session behavior as ReadOnly.

        Affected Files:
        Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/BaseControllers/WORKTERRASharedBaseController.cs
        Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/Common/CommonController.cs
        Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/WTHomePage/WTHomePageController.cs
        Web/SharedFunctionWebTier/SharedFunctionWebTier/Filters/ActionSessionStateAttribute.cs
        Web/SharedFunctionWebTier/SharedFunctionWebTier/SharedFunctionWebTier.csproj
        Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EmployeeBeneficiary/EmployeeBeneficiaryController.cs
        Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EnrollNow/EnrollNowController.cs
        Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EnrollNowSupportingpages/EnrollNowSupportingpagesController.cs
        Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/Exchange/ExchangeController.cs
        Web/Web Projects/BenAdmin/Global.asax.cs
        Web/Web Projects/WORKTERRA/Areas/UserDetails/Controllers/ChangePassword/ChangePasswordController.cs
        Web/Web Projects/WORKTERRA/Global.asax.cs

        Action Methods: List of Action Methods with their current Session behavior is mentioned in attached excel.

        Show
        saurabh.sablaka Saurabh Sablaka (Inactive) added a comment - Implementation details: ASP State acquires Read / Write lock for any request that uses Session by default. In our application, at number of places we only need to read from session and not make any write operation. For these calls we have modified the session behavior as ReadOnly. Affected Files: Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/BaseControllers/WORKTERRASharedBaseController.cs Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/Common/CommonController.cs Web/SharedFunctionWebTier/SharedFunctionWebTier/Controllers/WTHomePage/WTHomePageController.cs Web/SharedFunctionWebTier/SharedFunctionWebTier/Filters/ActionSessionStateAttribute.cs Web/SharedFunctionWebTier/SharedFunctionWebTier/SharedFunctionWebTier.csproj Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EmployeeBeneficiary/EmployeeBeneficiaryController.cs Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EnrollNow/EnrollNowController.cs Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/EnrollNowSupportingpages/EnrollNowSupportingpagesController.cs Web/Web Projects/BenAdmin/Areas/UserDetails/Controllers/Exchange/ExchangeController.cs Web/Web Projects/BenAdmin/Global.asax.cs Web/Web Projects/WORKTERRA/Areas/UserDetails/Controllers/ChangePassword/ChangePasswordController.cs Web/Web Projects/WORKTERRA/Global.asax.cs Action Methods: List of Action Methods with their current Session behavior is mentioned in attached excel.
        Hide
        venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

        Hi Saurabh,

        I have tested the options mentioned in the sheet through admin log in and observed no issues. But I have observed some pages don't allow to edit or save(Spouse and Beneficiary page),also page hangs in between.

        Thanks,
        Venkatesh

        Show
        venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Hi Saurabh, I have tested the options mentioned in the sheet through admin log in and observed no issues. But I have observed some pages don't allow to edit or save(Spouse and Beneficiary page),also page hangs in between. Thanks, Venkatesh
        Hide
        kunal.kedari Kunal Kedari (Inactive) added a comment -

        Hi Saurabh Sablaka,

        We have tested this enhancement with different roles viz. admin,employee and super admin and verified the points mentioned in the attached excel sheet. We do not observe any issue. But on similar line with venkatesh's observations I too observe some icon/buttons are not working sometimes (e.g. left navigation icons from left hand side of the Home page). We will once again verify this observations once build is deployed on Stage, marking this change as ready for Stage.

        Cc: Deepali Tidke,Venkatesh Pujari

        Show
        kunal.kedari Kunal Kedari (Inactive) added a comment - Hi Saurabh Sablaka , We have tested this enhancement with different roles viz. admin,employee and super admin and verified the points mentioned in the attached excel sheet. We do not observe any issue. But on similar line with venkatesh's observations I too observe some icon/buttons are not working sometimes (e.g. left navigation icons from left hand side of the Home page). We will once again verify this observations once build is deployed on Stage, marking this change as ready for Stage. Cc: Deepali Tidke , Venkatesh Pujari
        Hide
        kunal.kedari Kunal Kedari (Inactive) added a comment - - edited

        Hi Saurabh Sablaka,

        We have verified the mentioned change on Stage environment with employee, company admin and partner login. Attached points are working as expected without any issue. We can deploy the changes to production.

        Cc: Deepali Tidke, Venkatesh Pujari

        Show
        kunal.kedari Kunal Kedari (Inactive) added a comment - - edited Hi Saurabh Sablaka , We have verified the mentioned change on Stage environment with employee, company admin and partner login. Attached points are working as expected without any issue. We can deploy the changes to production. Cc: Deepali Tidke , Venkatesh Pujari
        Hide
        venkatesh.pujari Venkatesh Pujari (Inactive) added a comment -

        Hi Saurabh,

        I have verified the mentioned change on Production environment with employee, company admin and partner login on ASML for Hspl company. Points mentioned in the attached file are working fine with no issues.

        Closing the ticket.

        Thanks,
        Venkatesh.

        Show
        venkatesh.pujari Venkatesh Pujari (Inactive) added a comment - Hi Saurabh, I have verified the mentioned change on Production environment with employee, company admin and partner login on ASML for Hspl company. Points mentioned in the attached file are working fine with no issues. Closing the ticket. Thanks, Venkatesh.

          People

          Assignee:
          kunal.kedari Kunal Kedari (Inactive)
          Reporter:
          saurabh.sablaka Saurabh Sablaka (Inactive)
          Developer:
          Saurabh Sablaka (Inactive)
          QA:
          Kunal Kedari (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved: