Surendra Sharma

Surendra Sharma

Search This Blog

Tuesday, June 16, 2015

Sitecore website Session is expiring after 2-10 min


I was working with one Sitecore 7.5 website where session is expiring problem is occurring. This is happening in all browsers. The issue was strange as normally ASP.NET maintain session for 16 minute by default.

I was keeping some website related information in Session.

·         I have set session for more than 60 minutes in web.config file but session is expiring after 2-10 minutes. (sporadic behavior)

·         The problem is also occurring even when site is not idle. (again sporadic)
I have checked the Sitecore log files and saw some suspected messages which may be pointing to this problem

·         Overriding expired contact session lock. This typically means the previous request for the contact did not release session state properly or is taking too long to execute.
·         WARN  Overriding expired contact session lock for contact id: c855c633-7974-44a8-b436-6da08dc1743e

Solution:

Disable Analytics Robot Detection by setting value false in 'Sitecore.Analytics.Tracking.config' as:
<setting name="Analytics.AutoDetectBots" value="false" />


Please leave your comments or share this tip if it’s useful for you.

12 comments:

  1. It solved my problem

    ReplyDelete
  2. Does it also releases the existing locks from the contact?

    ReplyDelete
  3. It is my first visit to your blog, and I am very impressed with the articles that you serve. Give adequate knowledge for me. Thank you for sharing useful material. I will be back for the more great post. website click trackers

    ReplyDelete
  4. The next step that you need to take after choosing a web-host for your site is to zero down upon a proper hosting plan. Depending on your needs, reseller web hosting may be the best option for you, even if you aren't a web hosting reseller. It all depends on your monetary ability to provide for the plan and hence if you run a relatively https://onohosting.com/

    ReplyDelete
  5. This article discusses how to obtain an Internet address and how to choose between a static and a dynamic address. why is my ip

    ReplyDelete
  6. Informative stuff. Actually, I'm also a student and find out the solved or answers to my syllabus questions & landed here. In France, statistics show that out of any 1,000 students entering secondary education, fewer than 100 will receive an academic degree seven years later (including section D) and no more than five will complete tertiary lineserved.com studies in mathematics or related disciplines (computer science, in particular). Its a fact you have also shared an enjoyable and informative piece of content here. Anyways, thanks for sharing the nice piece of stuff with us.

    ReplyDelete
  7. Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! Estimulacion temprana para bebes

    ReplyDelete
  8. It is indeed an occurrence of a more broad class of weaknesses that can happen while one programming or prearranging language is inserted inside another.
    https://onohosting.com/

    ReplyDelete
  9. Huge database upheld projects require the information engineer range of abilities and the undertaking director ought to guarantee that the individual appointed to this job on the task has the designer range of abilities and experience. https://hostinglelo.in/

    ReplyDelete
  10. wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. website

    ReplyDelete
  11. Entrepreneurs will not need to sit around idly looking for help and can, all things being equal, begin the website advancement effectively all alone.

    https://www.onohosting.com/

    ReplyDelete
  12. Cell phone tracker software makes personal life and business very convenient as you go along your daily tasks. kidstracker.io/call-tracking.html

    ReplyDelete