Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA MES & Model Driven MES
  • AVEVA MES Tech Notes

TN MES118 Clearing the MESDB Database Sessn Table

Last updated: March 11th, 2025

Description

  • Author: Rich Brooks
  • Published: March 11th, 2025

Details:

Description

This article from InSource shows how to clear a session id from Wonderware MES 2014 R3. An orphaned session may prevent the login from a client application.

  • Author: Rich Brooks
  • Published: 6/19/2017
  • Applies to: MES 2014 R3 and higher

Details

The MESDB database includes a Sessn table which holds the currently active client information. A record is added to the Sessn table when the application is opened. The Wonderware MES Service is responsible to clear out any records after 10 minutes of inactivity.

Shutting down the MES Service improperly may prevent the session records from being cleared.

This may prevent a client from logging in from one of the applications as listed below.

Delete the problem record from the Sessn table by filtering on the session_id.

Restart the MES Service after the record is cleared. You should now be able to log into the application as expected.

purge session
Give feedback about this article

Recommended articles

TN 1393 Deleting Tags from AVEVA Insight

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand