0
I am developing an auction site on ASP.NET MVC4 and EF, at this time already makes bids and has a time stopwatch.
The problem now is: how do I record the data when the time runs out? I’ve thought about making a Trigger in comics, but I don’t think it’s gonna work.
I guess I’ll have to have an IIS server script which detects that time has passed and writes the data to the BD, but how do I do this?
I have the timer in Javascript:
<script type="text/javascript">
$('#countdown').countdown({ until: '@timeSpan', format: 'DHMS' });
</script>
It is not better to time by Javascript and submit an Ajax request?
– Leonel Sanches da Silva
I have the timer in Javascript. <script type="text/javascript"> $('#Countdown'). Countdown({ until: '@timeSpan', format: 'DHMS' }); </script>
– Manr