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

Forums / Set-up & Installation / Have to log in after every action at a second Sitefinity project

Have to log in after every action at a second Sitefinity project

3 posts, 1 answered
  1. olav
    olav avatar
    76 posts
    Registered:
    22 Jan 2007
    10 Jan 2010
    Link to this post
    Hi, I'm having this annoying problem, getting kicked out constantly.
    I'm in the middle of a (not that) particular scenario that will repeat in the future, so I'd better try to ease the problem if possible.

    I'm developing two or three projects simultaneously, at the localhost web server. I log in to one Sitefinity project, then start another browser, and go to a second Sitefinity project and log in. (The projects are totally separate, but the content is somehow connected and it is convenient/necessary to jump back and forth while developing/designing/editing.) But when I switch back to the first browser window I get kicked out if I try to save or otherwise produce a request.

    From my testing it seems to happen with/when:
    - Projects at the localhost, not with sites at different DNS addresses (www.site1.com and www.site2.com)
    - Both (latest) Internet Explorer and Firefox.
    - Regardless of setting "Remember me on this computer"
    - Regardless of having different user/login names in the projects.

    It looks like an error, but I have not found documentation of how the team has meant logins/sessions to work.
    Please explain, fix, or help me with a workaround.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    10 Jan 2010
    Link to this post
    Hi olav,

    If you are managing your websites under one browser with multiple tabs it is normal to get logged out. If you are using two browsers you should not get logged out.

    The workaround:

    Change the following section of the web.config file, so that you should have different names for forms node.

    <authentication mode="Forms">
          <forms name=".ASPNETWebsite1" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/" />

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Answered
  3. olav
    olav avatar
    76 posts
    Registered:
    22 Jan 2007
    11 Jan 2010
    Link to this post
    Hi Ivan,

    No tabs, each project was accessed using separately started browser windows.
    But having a distinct forms name for every project solved all. Thanks!

    Best,
    Olav
Register for webinar
3 posts, 1 answered