+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity cookies and SharePoint access issues

Sitefinity cookies and SharePoint access issues

4 posts, 0 answered
  1. Patrick
    Patrick avatar
    2 posts
    Registered:
    28 Feb 2012
    21 Jun 2013
    Link to this post
    I have an environment where we are using SharePoint 2010 for our intranet and Sitefinity for our Internet site. Our Sitefinity administrators are having an issue accessing SharePoint after they work with Sitefinity.

    After accessing their Sitefinity administrative interface and returning to SharePoint they are being given a 500 internal server error. If I then go in and clear their cookies they can access SharePoint without issue.

    Our SharePoint installation is using Claims Based Authentication with the STS and we don't normally have this 500 internal server error. It is only occuring after our users access Sitefinity.

    My question is this, is there an authentication cookie (or any cookie of any kind) that would interfere with the Windows based authentication claim to SharePoint that is being issued by Sitefinity.

    Thanks,
    Patrick
  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    03 Jul 2013
    Link to this post
    Hi,

    There is useful information that could be found in this article

    http://msdn.microsoft.com/en-us/library/hh147177%28v=office.14%29.aspx

    It seems that the first site is a subdomain of the other site. Our suggestions is to go to the web.config file and find where we register this module:
    SitefinitySessionAuthenticationModule

    You need to inherit it and register the new custom module in the web.config file. The system should use your custom module, not SitefinitySessionAuthenticationModule.


    You should verride InitializeModule, then call base.InitializeModule(context) and set:
    this.CookieHandler.Name = "CustomCookieName";

    This will change the name of the cookie for Sitefinity, it will not be the default FedAuth and
    it will not cause conflicts.

    Regards,
    Stefani Tacheva
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Patrick
    Patrick avatar
    2 posts
    Registered:
    28 Feb 2012
    10 Jul 2013 in reply to Stefani Tacheva
    Link to this post
    Stefani,

    I think you misunderstood my issue. The sites are completely disconnected. Our SharePoint site is on prem here at our home office in Portland Or. Our SiteFinitiy site is located elsewhere and in no way connected to our SharePoint site.

    The urls are as follows

    Intranet SharePoint site - https://intranet.neea.org

    Internet Site - http://neea.org
    The only similarities would occur via DNS. Perhaps I have misunderstood something in your above reply. This is only happening on Client machines (internet explorer 9 to be exact) where the user has accessed the SiteFinitiy administration site, once that happens they get a 500 error when trying to navigate to our SharePoint site.

    Correct me if I am wrong but I shouldn't have to write any custom configuration modules for two sites that have no interaction except that a client access both sites with the same machine.... correct?
  4. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    06 Dec 2016
    22 Jul 2013
    Link to this post
    Hello,

    We have answered you on the support ticket you have opened. I will share part of our answer:

    Whether your sites are connected or not, the browser will keep its cookies issued by instances which appear to share the same domain, thus, providing a probability for a client-side conflict.


    I would suggest you to continue the communication in the support ticket you have opened. Once the problem is resolved you could share the solution with the community.

    Regards,
    Stefani Tacheva
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered