Welcome to TechNet Blogs Sign in | Join | Help

The Official SBS Blog

The official blog for Small Business Server (SBS) support and product group communications.

News

  • Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of Microsoft. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
How to Change the CompanyWeb Timeout in SBS 2008

[Today's post comes to us courtesy of Chris Puckett]

The CompanyWeb site in SBS 2008 is configured with a 30 minute idle timeout in the default master page. This timeout is unique to CompanyWeb in SBS 2008 and affects connections to CompanyWeb from the LAN or over the Internet.  To change this timeout:

  1. Create a backup of your current CompanyWeb using the native SBS backup.
  2. Browse to http://companyweb.
  3. Click Site Actions and then click Site Settings.
  4. In the Galleries section, click Master pages.
  5. Right-click default.master, point to Send To and then click Download a copy. Save the file in the My Documents or some folder of your choosing.
  6. Make a backup copy of this file.
  7. Open the default.master file in Notepad.
  8. Locate this section:

    //this value indicates after how many miliseconds
    var LOGIN_SESSION_TIMEOUT_VALUE = 1800000;
    function EndSession()
    {
    window.location = "/_layouts/SignOut.aspx";
    }

    master file in notepad
  9. Modify the 1800000 value to the desired timeout in milliseconds.
      60000 milliseconds = 1 minute
      1800000 milliseconds = 30 minutes (default)
      3600000 milliseconds = 1 hour
  10. In Notepad, click File and then click Save. The file should be saved as default.master and not default.master.txt. Note the MASTER File type in the screenshot below.
    clip_image002
  11. In CompanyWeb, click Upload, and select the default.master file. Leave the box Add as a new version to existing files checked and click OK. You can also specify the change you made in the comments section.
    clip_image004
  12. After the document is uploaded, click OK.
    Note: It should appear in the master page gallery default.master and not default.master.txt (or any other extension).
    clip_image006
Posted: Tuesday, June 09, 2009 10:40 AM by SBS Bloggers

Comments

Rosewood said:

Thank you thank you thank you!

I have a few people that have been whining about this for awhile. I don't know why they just open up http://companyweb and leave it but they do ... a lot of them do.

So thank you very much for this helpful post.

# June 9, 2009 3:40 PM

bharrington83 said:

Excellent post!  The amount of headaches I get from users complaining about timeouts on Companyweb.  This really helped!

# June 10, 2009 7:33 AM

The Official SBS Blog said:

[Today's post comes to us courtesy of Chris Puckett] There are two places you can do this (copied below

# June 15, 2009 2:31 PM

peace said:

This is great....except to get to the master pages gallery, I had to type in http://companyweb/_catalogs/masterpage/Forms/AllItems.aspx for some reason the Master Pages gallery was not showing up in my Site Settings page.

Just thought others might run across similar issues.

# July 8, 2009 9:11 AM
New Comments to this post are disabled
Page view tracker