Keeping TimeControl 6 from timing out!

Users of TimeControl 6 may have found that after a few minutes their TimeControl session times out.  This is something controlled from within Internet Explorer 7.

Here is a quick little tutorial on how to modify the TimeControl 6 session timeout from within IIS 7.

1. Session State

We use the session state value as a timer to show the “Session timed out” message that will force users out of TimeControl. This value is the main control for the lifetime of session variables. To set this value:

  • Open IIS and click/select the TimeControl web site; this will show a range of options on the right hand side of the screen including an item under “Application Development” titled “Session State”. Double-Click “Session State”.

clip_image001

  • When opening the session state options a dialog will appear. All options should appear as the screen shot below does and to change the timeout value simply modify the value in the “Time-out (in minutes):” field and click “Apply”.

clip_image002

This tells the application how long a session is allowed to live. However, this isn’t the only option that needs to be modified because in our code we also check the validity of the user’s authentication ticket which is a separate time-out value.

2. Forms Authentication

The forms authentication uses an authentication ticket that is created when a user visits the site, and then tracks the user throughout the site. In TimeControl 6, we validate this ticket every time we load the page and if the ticket is no longer valid we redirect the user to the login page. If the session state is modified, the forms authentication will need to be modified as well.

  • Open IIS and click/select the TimeControl web site. On the right hand side there will be an option under “Security” for “Authentication”. Double-Click “Authentication”.

clip_image003

  • A list should be shown with a few items including “Forms Authentication”. Select the “Forms Authentication” item from the list and further to the right hand side of the screen an “Edit…” link will light up. Click “Edit…”.

clip_image004

  • The options for forms authentication will appear in the dialog and should look like the screen shot below. The “Authentication cookie time-out (in minutes):” needs to change to match the setting for session state.

clip_image005

These two time-out settings are used by the TimeControl 6 web site code and work well for a high traffic site, but what if it isn’t a high traffic site? In IIS “Application Pools” there is a setting for an “Idle Time-out”; meaning if there is NO traffic on the web site for x number of minutes then the Application Pool will recycle the web site, terminating any and all sessions.

3. Application Pool Idle Time-out

  • Open IIS and click/select the “Application Pools” from the left hand list. A list of applications pools will appear, click/select the application pool used by the TimeControl web site.

clip_image006

  • There will be a link on the right hand side of the screen under the heading “Edit Application Pool” title “Advanced Settings…” click this link. A dialog will appear with a number of options but we are only interested in the item under “Process Model” that reads “Idle Time-out (minutes)”. This value should get a setting equal to the session state and forms authentication to ensure the web site application doesn’t force a recycle before the session is supposed to time out.

clip_image007

These are the values that affect the TimeControl 6 session.

TC6 and ASP Impersonation

You’d think that the word “impersonation” would be used only by those trying to defeat security but in fact, the term is quite commonly used by those dealing with web-based services such as those found in .Net applications like TimeControl 6.  We’ve had a couple of clients who are not using the default ASP.Net security profile when running TimeControl 6 under Windows Server 2008, Windows Server 2008 R2 and only under some circumstances clients have experienced a The pipe name could not be obtained for the pipe URI: 5 (0x5) error to indicate that Access to the website and the service was denied. 

To fix the problem, Microsoft tells you to enable “Impersonation” (no, I’m not kidding). 

You can find out more about how to do this within your Windows Server environment, take a look at

Configure ASP.NET Impersonation Authentication (IIS 7) which one of our clients pointed us to.

Customizing the TimeControl 6 login screen

Did you know that you can add your logo or other information to the TimeControl 6 login screen to customize it for your own use?  It’s true.  Within the design of TimeControl 6’s login screen we’ve hidden a blank graphic called CompanyLogo.gif.  It’s a 300×300 pixels white graphic that you can replace with your own.  You typically wouldn’t see this screen as we’ve placed the white square over a white part of the login but if you make your browser quite small as you can see in the picture on the right, the white graphic becomes immediately apparent.  To change the graphic, replace it with a GIF of identical size.  The file is located in the installation directory of TimeControl 6 under the /images/Logos/ directory. 

Linking to Primavera Financial Periods

When linking with Primavera’s P6, TimeControl can now optionally send actuals to be posted directly to Primavera’s financial period table. This is the same destination supported by P6 when “Period to date Actuals” are activated and then posted into a particular financial period.

Using this feature will update both the Actuals which are already updated by previous versions of TimeControl and the period records so that financial and earned value reports in Primavera will report the data in the appropriate financial areas.

In order to activate this function, the Primavera Administrator must first define the financial periods and ensure that the Financial periods completely cover any period for which actuals might be sent from TimeControl. This is done in the Primavera Administration menu.

Primavera Periods

If data from TimeControl is transferred while this option is on and the appropriate financial period for the TimeControl “Date Work Performed is not located, the transferred data will be rejected and this will be reflected in the PM Links log.

In the TimeControl Project Transfer options, the “Transfer to Primavera Periods” option must be selected.
TimeControl Transfer Options
When this option is selected, the Date Transfer Options are no longer selectable as the “Date Work Performed” now becomes the relevant transfer date. This date will be used to determine which Primavera financial period in which to put the posted line data from TimeControl.

TimeControl 6 Free Hosted Trial site now available

You can now try TimeControl 6 for free on the TimeControl 6 Trial site!  Simply go to www.timecontrol.com/download/register/ and sign up and you will be given instant access to a hosted trial of our exciting new version of TimeControl. 

(For users who have recently registered, you will need to re-register as the system’s user table was reset for the new version)

The TimeControl 6 trial requires nothing to install to get the main timesheet functionality up and running in moments on your browser.  You will be able to see the timesheet, the timesheet list adjustments, the brand new vacation request module “TimeRequest”, the new MyOptions and approvals.  And, you’ll be asble to try all of this in a range of browsers, computers and operating systems.

For those who want to delve deeper into the administration functions you’ll see instructions and the requirements for making these functions available to you which will require using Internet Explorer and allowing ActiveX controls.

TimeControl 6 upgrades now available

For those clients who have patiently been waiting for their upgrades to TimeControl 6, the upgrades to the new version are  now available.  Clients with a current support contract can download the upgrades which includes a full installation of TimeControl 6, and a complete ISO image of the CD.  In addition, the download area includes the Installation and Upgrade guide which includes the hardware requirements, the installation instructions for the new version and instructions on how to upgrade an existing TimeControl 5.1.8 database to the new version. 
Clients with existing support contracts should go to www.timecontrol.com/support/updates where the new version is available at no additional charge.
Clients whose support contracts have expired can contact custsvc@hmssoftware.ca to update their contract.

TimeControl Public Sector Solution Page

Interest in TimeControl from the Public Sector has grown in recent years and there are some very good reasons why. More and more, organizations in the public sector are being called upon to manage themselves as though they were in the private sector. The interest in transparency, good governance and effective use of taxpayer funds has expanded in recent years and this interest has fostered a keen interest in the public sector of flexible off the shelf timesheet systems. We’ve created a new Public Sector Solution Page for TimeControl on the website.

When public sector organizations search for a timesheet they have some key criteria. TimeControl has a unique combination of characteristics that make it attractive to these public sector needs which include flexibility, aease of use, ability to link to existing systems, speedy deployment, low cost, and which is known in the public sector.

Interest for TimeControl from public sector organizations continues to grow. If you are working in the Public Sector and are facing timesheet challenges, take a look at the TimeControl Public Sector Solutions area.

HMS readies TimeControl 6 upgrades

We know that existing TimeControl clients have been waiting patiently for TimeControl 6 to arrive.  We have been waiting for is the module to convert older TimeControl databases into the TimeControl 6 format.  We’re happy to let everyone know that this code is complete and testing for the migration tool has also been completed.  Packing the TimeControl 6 updates and putting some finishing touches on documentation is wrapping up now and we will be making the TimeControl 6 upgrade available to clients early next week.   This version of TimeControl will be made available at no cost to existing TimeControl clients who have a current support contract.  Clients who wish to ensure their support contract is up to date should check with support@hmssoftware.ca

TimeControl 6 updates as well as a complete installable version and even an ISO CD image file will be available from the www.timecontrol.com/support/updates/ area for any clients whose support is current . 

Using TimeControl with project management resource skill scheduling

Using TimeControl with Project Management tools and their skill scheduling, role scheduling and generic resource scheduling capabilities.
It has long been a common feature of enterprise project management tools from Oracle-Primavera, Microsoft and Deltek to allow resource assignments to be planned at a high level in the early stages of a project.

Deltek’s Open Plan calls this skill-scheduling. Microsoft Project/Project Server refers to it as generic resource scheduling and Oracle’s Primavera calls it role-scheduling.

Regardless of the product, the concept is the same. There are a small number of unnamed resource categories that are to be assigned to tasks for some time in the future. The tasks or perhaps the entire project is either not in production or is not soon enough to be ready to name an actual individual to that task yet if no assignment is made, it will be impossible to do forward looking resource capacity planning.

Once a project is ready to go into production or that phase of the project is close enough in time that we know who will be working on those tasks, the skill, generic or role-based entry in the tasks is expected to be replaced with the actual resource code. In many cases this might be the actual named resource who will perform the work but it might also be a category type of resource.

TimeControl’s link to the resource assignments in these project management tools expects to find the category or named resource. We import the assignment information to help populate the resource table then ask that each employee be associated to a resource entry in the project management system through the TimeControl Resource table. This allows the flexibility of going to a named or category resource. When TimeControl sends actual hours and costs back to the tasks it does so at the assignment level. TimeControl first looks for the task. If it doesn’t find it, it stops. If it does find it, it then looks for the assignment that matches the actual resource it’s about to update. If it finds it, it updates that assignment with the actual hours and optionally costs. If it doesn’t find that it polls the resource table in the project management system to find out if that resource exists anywhere. If it doesn’t, it stops. If it does, then depending on the options chosen in the TimeControl transfer, it adds an assignment to that task and updates the hours and costs.

This brings up dozens of possible conditions that TimeControl might find.

  • What if a task was assigned to Joe but Bill did the work? The result will be an unfulfilled assignment in the task for Joe and a completed assignment by Bill.
  • What if a task was assigned to a category or group resource and the employee is part of that group in TimeControl (by associating the group resource code to the employee). The result will be an update of the group assignment.
  • What if the project management user still has an assignment for a skill or generic resource but in TimeControl the resource is an individual? The result will be an unfulfilled assignment for the skill and an additional assignment for the individual.

So, why not carry the ability to move data back to skill categories in the project management tool? For the same reason that each of these tools recommends a best practice of replacing the temporary placeholders of skills with named resources as the project goes into production. The possibility is very real of double-counting resources. Skill scheduling makes perfect sense as a forward looking analytical practice, but in all of these tools, resources can have more than one skill. So, Bob is also an Administrator and an Engineer and a Designer. This might mean that while we think of Bob rather flexibly in forward planning, in day-to-day activities, he can only do one thing in each moment.

Reference Guides for all these products carry the same recommendations: Use skills in your forward planning exercise but replace them with resources before you get the task started. TimeControl follows this same recommendation in its design.

The official blogsite of TimeControl