Two words: database transactions. That said, I've found that apache usually finishes processing the request but you're better off not assuming this and dealing with transactional failure properly in your application.
-- Andrew O'Brien Development Manager e: [EMAIL PROTECTED] p: +61 2 9461 0114 w: www.oriel.com.au f: +61 2 9431 6700 > -----Original Message----- > From: Hans de Groot [mailto:[EMAIL PROTECTED] > Sent: Thursday, 28 October 2004 5:24 PM > To: [EMAIL PROTECTED] > Subject: What happens when (slow) loading pages are stopped > by the browser > > Hello, > > I was just wondering what happens with Embperl pages that are > stopped (stop > button) by the browser. Or when people first click one link > and decide to click > something else before the pages finishes loading. > > So far I have never had any problems but it micht be a cause > of problems in the > future? > > Supose I have a very long script with several sql query's to > fill several tables > . Can it happen that the first query are executed and the > last 2 are skipped > because apache stops the script? > > I often create a row and fetch the newid and use this id to > add more rows to > other tables, the same when deleteing rows. The database > would become messy if > they are not all completed,. > > Well that's my question. > > Maybe someone know how this works? > > Regards > > Hans de Groot > > PS Randy I think it was you who told me to stop using the > semapohores and try > file locking for the sessions. I did and I have not had any > problems anymore. > (sometimes all websites using embperl and sessions stopped > responding every > once in a while until I restarted apache) > > > > > > > > > > > Met vriendelijke groet, > > Hans de Groot > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]