On Friday 21 November 2003 02:28 pm, Ged Haywood wrote: > Hi there, > > On Fri, 21 Nov 2003, Jordan Lederman wrote: > > if I hit reload quickly ... > > (32)Broken pipe: client stopped connection... > > what 'feels' like is happening is that... > > When i hit reload before the queries are done... > > often the value of $page_links{numtotal} is 'someguy' > > which is a value found in the u.name field of the other query below. > > Have you seen > > http://perl.apache.org/docs/1.0/guide/debug.html#Handling_the__User_pressed >_Stop_button__case >
Just read it -- and I'm trying to digest it all. Most of the examples seem to pertain more to scripts running under Apache::Registry then as a module but it makes sense either way. However, I'm still not sure how to do this. Where would I put such a test to see if the user has disconnected? Do I need an END { ... } block, and if so what would I put inside? Also, do I need to do a $dbh->sync ever, or is that just when working with dbm files? > and also section 4.9 in the "mod_perl Developer's Cookbook"? > Looks like I'll be stopping by the book store on my way home from work tonight... :) --jordan > 73, > Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html