Timeline for Sitecore losing the client session unexpectedly
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 22, 2017 at 12:56 | comment | added | Diego | I have manually increased the session time on Sitecore.Analytics.Tracking.config to 15 minutes for example, and I do have the VisitorIdentification set on the layout. But still the session is getting cleared. When I post I see on the first line of the post method that the isAuthenticated is set to false | |
Nov 22, 2017 at 6:26 | comment | added | Abhi | Observation - First checke Visital identification is enabled or not . make sure below code is added in your layout - @using Sitecore.Mvc.Analytics.Extensions @Html.Sitecore().VisitorIdentification() Clear cache -> open consol ,check requests , you will see a request "/layouts/system/VisitorIdentificationCSS.aspx" or any other similar request | |
Nov 22, 2017 at 6:17 | comment | added | Abhi | Sitecore by default set ASP.Net session to 1 min for all users. Once Page is visited It makes a ajax cal to reset the session for 20 min /specified duration . Sitecore is doing this to detect the robots calls . You may also check the "Sitecore.Analytics.Tracking.config" there you will see a setting for default session . | |
Nov 21, 2017 at 16:31 | comment | added | Diego | what you mean by "Please observe on your first request, Sitecore will make an ajax request to check something"? I haven't seen this happening as part of the request | |
Nov 21, 2017 at 12:00 | history | answered | Abhi | CC BY-SA 3.0 |