Path: csiph.com!aioe.org!news.mb-net.net!open-news-network.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: JavaScript code security Date: Wed, 24 May 2017 01:12:04 +0200 Organization: PointedEars Software (PES) Lines: 21 Message-ID: <2282449.Lt9SDvczpP@PointedEars.de> References: <58a53166-53fb-4974-9264-d73f26a0a549@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn NNTP-Posting-Host: 131.226.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: gwaiyur.mb-net.net 1495581124 13300 178.197.226.131 (23 May 2017 23:12:04 GMT) X-Complaints-To: abuse@open-news-network.org NNTP-Posting-Date: Tue, 23 May 2017 23:12:04 +0000 (UTC) User-Agent: KNode/4.14.2 X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. justaguy writes: >>I use JavaScript to prevent duplicate data entry for a key field > > The rules of parallel programming apply here, because > several clients can run in parallel. You might have a kind > of race condition. That's what servers and database are > made for, i.e., e.g., > > CREATE UNIQUE INDEX I on TABLE0( FIELD0 ); > > . GIGO. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.