Add Error Handling for Session Ping
This commit is contained in:
parent
44b289fbd7
commit
b8b34ea0be
@ -301,9 +301,16 @@ namespace VEPROMS.CSLA.Library
|
||||
#region Factory Methods
|
||||
public static void Execute(int sessionID)
|
||||
{
|
||||
SessionPing cmd = new SessionPing();
|
||||
cmd.SessionID = sessionID;
|
||||
DataPortal.Execute<SessionPing>(cmd);
|
||||
try
|
||||
{
|
||||
SessionPing cmd = new SessionPing();
|
||||
cmd.SessionID = sessionID;
|
||||
DataPortal.Execute<SessionPing>(cmd);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.Warn("Session Ping Failure", ex);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Server-Side code
|
||||
|
Loading…
x
Reference in New Issue
Block a user