[Quickfix-developers] unexpected seqnum reset (VC6)
Brought to you by:
orenmnero
From: Alexey Z. <ale...@in...> - 2005-03-03 20:55:34
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> Hi All,<br> <br> I've got the following problem.<br> <br> My client application started a new session in the morning with a reset seqnum.<br> That was absolutely unexpected because seqnum in the file wasn't 1.<br> <br> I found how to reproduce that: <br> <br> 1. I have only start and end times in your configuration file<br> StartTime=00:00:00<br> EndTime=00:00:00<br> <br> 2. Change in the *.session file the day (minus one - session from the previous day)<br> <br> I found out that in the Session class constructor there is a call of reset() if the creation time (yesterday) is not the current time (today) :)).<br> <br> if( !checkSessionTime( UtcTimeStamp() ) )<br> reset();<br> ...............<br> <br> <pre class="moz-signature" cols="60">-- Regards, Alexey Zubko </pre> </body> </html> |