What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [WebDNA] An unknown error occured // Deadlock avoided

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106921
interpreted = N
texte = You guys are all missing the point. The guys wants it. You all are acting like you have never had to appease a boss or a client and give them a stupid feature. Whatever, I have to do it all the time with my clients. Ken I too have an issue with telling people what I think, but once that is done (which it sounds like tommy did) you move on and give it to them. That all being said, that code looks like it could be done with a two lines of code. Both are as Govinda suggested. Use the REPLACE tag with the APPEND flag. I can see no reason to have the Counter inside a search. It too can be a simple REPLACE with APPEND. I cannot see how you know if someone has gone offline or not based on the above code. So if you need that simply add a timestamp to the db and run a different script, I recommend from a trigger or cron job, and have it remove anyone that is idle for more than X minutes. Or something along those lines anyway. Just my 2 cents. Ron On Mon, Jul 11, 2011 at 7:49 AM, Dan Strong wrote: > Ken I was just think something very similar :-) > > Tommy, also maybe zero in on what info he actually wants to see -- i.e. d= oes > he really need to know a visitor's IP address in semi real time? Does he > really need to know what formvariables are being used on a page in semi r= eal > time? Likely he just wants to know how busy the site is and if that's the > case then perhaps only document a simple count or get creative and every > time someone hits the site, have the server play a sound file of a cash > register from a speaker in his office, so when the site is busy it sounds > like the money is rolling in :-) You get the drift... > > Lastly, if all else fails, hit him between the eyes with the thing everyb= ody > understands: money. They way he's doing it now is costing him in lost sta= ff > time and ultimately money. They way you are proposing to do it will save = you > time and him money, etc. etc. etc. > > -Dan > > On 7/11/2011 7:41 AM, Kenneth Grome wrote: >>> >>> Ken, He is quite pigheaded, I've spoken to him >>> repeatedly, about why he is interested in this >>> information, he has no clear answer, but he >>> signs my paycheck. >> >> Instead of appending the data to a db that's open all the >> time, append it to the end of a text file instead. =A0This is >> basically a log file, so you'll have to roll it daily or >> hourly which is easy in WebDNA. >> >> Then when your pigheaded boss wants to see this data, you >> can give him access to a special template that he must login >> in order to use. =A0When he logs in, your code will create a >> table by including the most recent copy of the text file. >> >> This gives your boss exactly what he wants to see, and the >> code that appends each visitor's click to the log file will >> not affect any databases, so it eliminates the deadlock >> issue. >> >> Sincerely, >> Kenneth Grome >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list. >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] An unknown error occured // Deadlock avoided (Stuart Tremain 2011)
  2. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  3. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  4. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  5. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  6. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  7. Re: [WebDNA] An unknown error occured // Deadlock avoided (Govinda 2011)
  8. Re: [WebDNA] An unknown error occured // Deadlock avoided (Paul Willis 2011)
  9. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  10. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  11. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  12. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  13. Re: [WebDNA] An unknown error occured // Deadlock avoided ( 2011)
  14. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  15. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  16. Re: [WebDNA] An unknown error occured // Deadlock avoided ( 2011)
  17. Re: [WebDNA] An unknown error occured // Deadlock avoided ( 2011)
  18. Re: [WebDNA] An unknown error occured // Deadlock avoided (Govinda 2011)
  19. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  20. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  21. Re: [WebDNA] An unknown error occured // Deadlock avoided ( 2011)
  22. Re: [WebDNA] An unknown error occured // Deadlock avoided (Dan Strong 2011)
  23. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  24. Re: [WebDNA] An unknown error occured // Deadlock avoided ( 2011)
  25. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  26. Re: [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
  27. Re: [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
  28. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  29. Re: [WebDNA] An unknown error occured // Deadlock avoided (Stuart Tremain 2011)
  30. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  31. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  32. Re: [WebDNA] An unknown error occured // Deadlock avoided (Stuart Tremain 2011)
  33. RE: [WebDNA] An unknown error occured // Deadlock avoided ("Terry Nair" 2011)
  34. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  35. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  36. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  37. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  38. Re: [WebDNA] An unknown error occured // Deadlock avoided (Ronald Kirkland 2011)
  39. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  40. Re: [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
  41. Re: [WebDNA] An unknown error occured // Deadlock avoided (Kenneth Grome 2011)
  42. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  43. Re: [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
  44. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  45. Re: [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
  46. Re: [WebDNA] An unknown error occured // Deadlock avoided (Govinda 2011)
  47. Re: [WebDNA] An unknown error occured // Deadlock avoided (christophe.billiottet@webdna.us 2011)
  48. [WebDNA] An unknown error occured // Deadlock avoided (Tommy Bell 2011)
You guys are all missing the point. The guys wants it. You all are acting like you have never had to appease a boss or a client and give them a stupid feature. Whatever, I have to do it all the time with my clients. Ken I too have an issue with telling people what I think, but once that is done (which it sounds like tommy did) you move on and give it to them. That all being said, that code looks like it could be done with a two lines of code. Both are as Govinda suggested. Use the REPLACE tag with the APPEND flag. I can see no reason to have the Counter inside a search. It too can be a simple REPLACE with APPEND. I cannot see how you know if someone has gone offline or not based on the above code. So if you need that simply add a timestamp to the db and run a different script, I recommend from a trigger or cron job, and have it remove anyone that is idle for more than X minutes. Or something along those lines anyway. Just my 2 cents. Ron On Mon, Jul 11, 2011 at 7:49 AM, Dan Strong wrote: > Ken I was just think something very similar :-) > > Tommy, also maybe zero in on what info he actually wants to see -- i.e. d= oes > he really need to know a visitor's IP address in semi real time? Does he > really need to know what formvariables are being used on a page in semi r= eal > time? Likely he just wants to know how busy the site is and if that's the > case then perhaps only document a simple count or get creative and every > time someone hits the site, have the server play a sound file of a cash > register from a speaker in his office, so when the site is busy it sounds > like the money is rolling in :-) You get the drift... > > Lastly, if all else fails, hit him between the eyes with the thing everyb= ody > understands: money. They way he's doing it now is costing him in lost sta= ff > time and ultimately money. They way you are proposing to do it will save = you > time and him money, etc. etc. etc. > > -Dan > > On 7/11/2011 7:41 AM, Kenneth Grome wrote: >>> >>> Ken, He is quite pigheaded, I've spoken to him >>> repeatedly, about why he is interested in this >>> information, he has no clear answer, but he >>> signs my paycheck. >> >> Instead of appending the data to a db that's open all the >> time, append it to the end of a text file instead. =A0This is >> basically a log file, so you'll have to roll it daily or >> hourly which is easy in WebDNA. >> >> Then when your pigheaded boss wants to see this data, you >> can give him access to a special template that he must login >> in order to use. =A0When he logs in, your code will create a >> table by including the most recent copy of the text file. >> >> This gives your boss exactly what he wants to see, and the >> code that appends each visitor's click to the log file will >> not affect any databases, so it eliminates the deadlock >> issue. >> >> Sincerely, >> Kenneth Grome >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list. >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > Ronald Kirkland

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RE: Credit card processing - UK (1997) Automatic Forwarding using WebCat (1997) Documentation Feedback (1997) Using Currencies other than Dollars (1997) Running a store on BOTH http and https (1998) TIP OF THE DAY (2004) Text data with spaces in them... (1997) unsubscribe (1997) Re:2nd WebCatalog2 Feature Request (1996) Draft Manual, Tutorial, and more (1997) $Quit, $CloseDatabase corrections (1997) Missing from Docs [folderName] (1997) Text data with spaces in them... (1997) Visitor info (2000) Almost a there but..bye bye NetCloak (1997) WebCat2final1 crashes (1997) expiring a cookie each thursday (2000) Searching Records by Company (2000) suffix mapping, use of cache, etc. (1997) Webten + Webcat running smooth (1998)