<!-- This file has been automatically generated. See web/README.md -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div id="compose-container" style="direction: ltr" itemscope="" itemtype="https://schema.org/EmailMessage">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name" content="Outlook Mobile for iOS"></span></span>
<div>
<div style="direction: ltr;">Hi,</div>
<div><br>
</div>
<div style="direction: ltr;">Looking for some help/ advice on updating the expiration timer/ values in a hash table when when [htable:expired:<table>] occurs.</div>
<div><br>
</div>
<div style="direction: ltr;">On startup my script successfully reads in a set of entries from a DB; I also know from testing/ tracing that I can add new entries to the hash table in request_route. My issue occurs when the expiration timer kicks in - my goal
was to re-read from the DB to ensure either the entry still exists or hasn’t changed and either delete, update or refresh the value until the next time the expiration event occurs. This way entries in the DB could be modified overtime.</div>
<div><br>
</div>
<div style="direction: ltr;">At the moment all that’s occurring is that in the event_route[htable:expired:cli] block the entries are being drained one-by-one. I re-read the row from the from the DB and I reset the value using $sht(cli=>$shtrecord(key)) = $xavp(cli=>MAPPED_CLI);
I’ve also tried updating the expiration timer against the key. I’ve tried both $shtex(cli=>$shtrecord(key)) = 60 and $shtex(cli=>$shtrecord(key)) = $TS+60 [the latter based on the values shown from sht_print()] but the entries still get deleted.</div>
<div><br>
</div>
<div style="direction: ltr;">I’ve tried this against both 5.1.0 & 5.1.2.</div>
<div><br>
</div>
<div style="direction: ltr;">Any help appreciated.</div>
<div><br>
</div>
<div><br>
</div>
<div style="direction: ltr;">Thanks</div>
<div style="direction: ltr;">David Heath</div>
<div><br>
</div>
</div>
</div>
</body>
</html>