locked
What can cause a "HVAuthenticationRequiredException: (65) The authenticated session token has expired." exception? RRS feed

  • Question

  • At our client site, the SiteScope monitors picked up this exception coming from the app servers hosting their HealthVault web application.  Would this exception be caused by an expiring client session, or by a server that does not have the certificate installed on it?  Maybe something else?  Thanks in advance for your help.

    Todd Larson
    Solution Design Group
    Monday, October 26, 2009 3:47 PM

Answers

  • Hello Todd,

    This is error is normally thrown when the client authentication token has expired. HealthVault has a hard limit of 24 hours on the token which would cause the app to require the user to log on again. The 24 hour token expiration gets handled by the HealthServicePage base class. It will be a good design if the application can catch this exception and redirect the user to the log in page or provide an application specific UI.

    Hope this helps.

    Thanks and Regards,
    Aneesh D.
    • Marked as answer by LarzStarz Monday, October 26, 2009 5:44 PM
    Monday, October 26, 2009 5:37 PM

All replies

  • Hello Todd,

    This is error is normally thrown when the client authentication token has expired. HealthVault has a hard limit of 24 hours on the token which would cause the app to require the user to log on again. The 24 hour token expiration gets handled by the HealthServicePage base class. It will be a good design if the application can catch this exception and redirect the user to the log in page or provide an application specific UI.

    Hope this helps.

    Thanks and Regards,
    Aneesh D.
    • Marked as answer by LarzStarz Monday, October 26, 2009 5:44 PM
    Monday, October 26, 2009 5:37 PM
  • Thanks much.  I'll pass that along to our folks.

    Todd Larson
    Solution Design Group
    Monday, October 26, 2009 5:44 PM