FW: Reg Expression for IPs
Does anybody have a regular expression for finiding out if a clients IP address falls within a certain range. I want to know if anybody with an IP address in the range of 192.168.32.0 - 192.168.63.255 hits a page. Thanks in advance. Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reg Expression for IPs
Unfortunately I haven't been able to find good documentation on how to use the subnet mask in relation to blocking IP's, can you point me to a good reference? -mark -Original Message- From: Mike Sullivan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 3:19 PM To: CF-Talk Subject: RE: Reg Expression for IPs Sure, its called a subnet mask ;-) -Original Message- From: Mark M. Kecko [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 12:00 PM To: CF-Talk Subject: FW: Reg Expression for IPs Does anybody have a regular expression for finiding out if a clients IP address falls within a certain range. I want to know if anybody with an IP address in the range of 192.168.32.0 - 192.168.63.255 hits a page. Thanks in advance. Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Server Logging Questions
Billy, I'm not using Access. I'm running SQL Server 7 w/ ODBC? Any body else have any idea what would be causing the log entries included in the below message? Has Macromedia addressed this issue? -mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 5:37 PM To: CF-Talk Subject: RE: CF Server Logging Questions Typically the result of using Access. See: http://www.macromedia.com/v1/handlers/index.cfm?ID=1540Method=Full --- Billy Cravens -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 4:30 PM To: CF-Talk Subject: CF Server Logging Questions Hi, I've got a CF5 Server running on NT4 and it seems as though the CF service is causing the server to crash. Something is causing 100% processor tie-up, which hogs memory and eventually crashes the server. I've looked for endless loops and the such in my apps and haven't been able to find any. These are some entries that I'm concerned about from my SERVER.LOG and WEBSERVER.LOG log files. I don't really know what these errors mean or what's causing them, but I'm hoping that they're related to my problem. If anybody could shed some light on these log entries it would be appreciated, thanks. -mark kecko Server.LOG Error,461,04/18/02,14:19:31,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred while attempting to write the reply to the web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred attempting to close connection to web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,273,04/18/02,14:19:35,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:19:35,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred while attempting to write the reply to the web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred attempting to close connection to web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,273,04/18/02,14:20:03,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:20:03,,Windows NT error number 232 occurred. WebSERVER.LOG** Error,626,04/18/02,14:16:34,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,563,04/18/02,14:16:35,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,593,04/18/02,14:16:44,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,607,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,548,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,659,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,396,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Server Logging Questions
Do you think that running multiple SQL statements within the same CFQuery tag(below) could cause this? cfquery Insert Into Table1 Insert Into Table2. Insert Into Table3 /cfquery Thanks in advance. -mark Is there a SP pkg for CF Server 5, if so where can I download it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 5:37 PM To: CF-Talk Subject: RE: CF Server Logging Questions Typically the result of using Access. See: http://www.macromedia.com/v1/handlers/index.cfm?ID=1540Method=Full --- Billy Cravens -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 4:30 PM To: CF-Talk Subject: CF Server Logging Questions Hi, I've got a CF5 Server running on NT4 and it seems as though the CF service is causing the server to crash. Something is causing 100% processor tie-up, which hogs memory and eventually crashes the server. I've looked for endless loops and the such in my apps and haven't been able to find any. These are some entries that I'm concerned about from my SERVER.LOG and WEBSERVER.LOG log files. I don't really know what these errors mean or what's causing them, but I'm hoping that they're related to my problem. If anybody could shed some light on these log entries it would be appreciated, thanks. -mark kecko Server.LOG Error,461,04/18/02,14:19:31,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred while attempting to write the reply to the web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred attempting to close connection to web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,273,04/18/02,14:19:35,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:19:35,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred while attempting to write the reply to the web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred attempting to close connection to web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,273,04/18/02,14:20:03,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:20:03,,Windows NT error number 232 occurred. WebSERVER.LOG** Error,626,04/18/02,14:16:34,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,563,04/18/02,14:16:35,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,593,04/18/02,14:16:44,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,607,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,548,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,659,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,396,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ntConsoleJava.e Process
Bob, I found the ntConsoleJava.e process running but I don't know what service to turn off in order to stop the process. Please advise. -mark -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:26 AM To: CF-Talk Subject: RE: CF Server Logging Questions Billy. check your system processes running, we've had some problems with the graphing engine eating resources. In the the system processes window look for consolejavaNT I think or something to that effect. If it's there it's sure to be hogging resource. We jus went into the services control panel and disabled it, unless of course you're using the graphing features in CF5. Let me know what you find. Bob -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:45 AM To: CF-Talk Subject: RE: CF Server Logging Questions Billy, I'm not using Access. I'm running SQL Server 7 w/ ODBC? Any body else have any idea what would be causing the log entries included in the below message? Has Macromedia addressed this issue? -mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 5:37 PM To: CF-Talk Subject: RE: CF Server Logging Questions Typically the result of using Access. See: http://www.macromedia.com/v1/handlers/index.cfm?ID=1540Method=Full --- Billy Cravens -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 4:30 PM To: CF-Talk Subject: CF Server Logging Questions Hi, I've got a CF5 Server running on NT4 and it seems as though the CF service is causing the server to crash. Something is causing 100% processor tie-up, which hogs memory and eventually crashes the server. I've looked for endless loops and the such in my apps and haven't been able to find any. These are some entries that I'm concerned about from my SERVER.LOG and WEBSERVER.LOG log files. I don't really know what these errors mean or what's causing them, but I'm hoping that they're related to my problem. If anybody could shed some light on these log entries it would be appreciated, thanks. -mark kecko Server.LOG Error,461,04/18/02,14:19:31,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred while attempting to write the reply to the web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred attempting to close connection to web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,273,04/18/02,14:19:35,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:19:35,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred while attempting to write the reply to the web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred attempting to close connection to web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,273,04/18/02,14:20:03,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:20:03,,Windows NT error number 232 occurred. WebSERVER.LOG** Error,626,04/18/02,14:16:34,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,563,04/18/02,14:16:35,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,593,04/18/02,14:16:44,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,607,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,548,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,659,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,396,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ntConsoleJava.e Process - Management Repository and ColdFusion Monitoring
Bob, Thanks for the input. I don't have a Component Services under Adminsitrative Tools on my NT4 machine but I was able to stop the graphing server and it immediately freed up some much needed resources. If anybody can tell me where I can get to the Management Repository Server and ColdFusion Monitoring Server services from NT4 so I can play some more, please let me know. Thanks again Bob! -mark -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:43 PM To: CF-Talk Subject: RE: ntConsoleJava.e Process In your Component Services Under Adminsitrative Tools, on the right highlight the Services (local)and it should display a list of all the services running on your system. Find ColdFusion Graphing Server, ColdFusion Management Repository Server and ColdFusion Monitoring Server. Right click on each one and select Properties, in the menu you should see a drop down menu and Services Status: Under Status click Stop and then select Disable from the drop down menu. Do this for each of these services and then test your system to see if that resolves the error. -Bob -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:04 PM To: CF-Talk Subject: ntConsoleJava.e Process Bob, I found the ntConsoleJava.e process running but I don't know what service to turn off in order to stop the process. Please advise. -mark -Original Message- From: Bob Imperial [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:26 AM To: CF-Talk Subject: RE: CF Server Logging Questions Billy. check your system processes running, we've had some problems with the graphing engine eating resources. In the the system processes window look for consolejavaNT I think or something to that effect. If it's there it's sure to be hogging resource. We jus went into the services control panel and disabled it, unless of course you're using the graphing features in CF5. Let me know what you find. Bob -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:45 AM To: CF-Talk Subject: RE: CF Server Logging Questions Billy, I'm not using Access. I'm running SQL Server 7 w/ ODBC? Any body else have any idea what would be causing the log entries included in the below message? Has Macromedia addressed this issue? -mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 5:37 PM To: CF-Talk Subject: RE: CF Server Logging Questions Typically the result of using Access. See: http://www.macromedia.com/v1/handlers/index.cfm?ID=1540Method=Full --- Billy Cravens -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 4:30 PM To: CF-Talk Subject: CF Server Logging Questions Hi, I've got a CF5 Server running on NT4 and it seems as though the CF service is causing the server to crash. Something is causing 100% processor tie-up, which hogs memory and eventually crashes the server. I've looked for endless loops and the such in my apps and haven't been able to find any. These are some entries that I'm concerned about from my SERVER.LOG and WEBSERVER.LOG log files. I don't really know what these errors mean or what's causing them, but I'm hoping that they're related to my problem. If anybody could shed some light on these log entries it would be appreciated, thanks. -mark kecko Server.LOG Error,461,04/18/02,14:19:31,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred while attempting to write the reply to the web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred attempting to close connection to web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,273,04/18/02,14:19:35,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:19:35,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred while attempting to write the reply to the web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred attempting to close connection to web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,273,04/18/02,14:20:03,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:20:03,,Windows NT error number 232 occurred. WebSERVER.LOG** Error,626,04/18/02,14:16:34,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,563,04/18/02,14:16:35,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,593,04/18/02,14:16:44,,Error attempting to write location redirection
RE: ntConsoleJava.e Process - Shared Scope Vars
Stephen, what exactly are shared scope var's. I'm locking all session var's but not any other scope. I'm using the Attributes, Variables, Cookie, Form, URL and Application scopes w/o locking. I don't use the server scope at all. Am I doing this properly? Thanks for the input -mark -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:18 PM To: CF-Talk Subject: Re: ntConsoleJava.e Process Mark, Bob, I found the ntConsoleJava.e process running but I don't know what service to turn off in order to stop the process. Please advise. -mark Its called ColdFusion Graphing Server, but that's only going to stop one of the ntconsoles. Have you checked that you are locking _all_ your references to shared scope variables? That's another cause of CF server wigging out. Stephen __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Server Logging Questions
Hi, I've got a CF5 Server running on NT4 and it seems as though the CF service is causing the server to crash. Something is causing 100% processor tie-up, which hogs memory and eventually crashes the server. I've looked for endless loops and the such in my apps and haven't been able to find any. These are some entries that I'm concerned about from my SERVER.LOG and WEBSERVER.LOG log files. I don't really know what these errors mean or what's causing them, but I'm hoping that they're related to my problem. If anybody could shed some light on these log entries it would be appreciated, thanks. -mark kecko Server.LOG Error,461,04/18/02,14:19:31,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred while attempting to write the reply to the web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,702,04/18/02,14:19:32,,Error number 232 occurred attempting to close connection to web server. Error,702,04/18/02,14:19:32,,Windows NT error number 232 occurred. Error,273,04/18/02,14:19:35,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:19:35,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred while attempting to write the reply to the web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,461,04/18/02,14:19:41,,Error number 232 occurred attempting to close connection to web server. Error,461,04/18/02,14:19:41,,Windows NT error number 232 occurred. Error,273,04/18/02,14:20:03,,Error number 232 occurred attempting to close connection to web server. Error,273,04/18/02,14:20:03,,Windows NT error number 232 occurred. WebSERVER.LOG** Error,626,04/18/02,14:16:34,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,563,04/18/02,14:16:35,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,593,04/18/02,14:16:44,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,607,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,548,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,659,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) Error,396,04/18/02,14:17:17,,Error attempting to write location redirection to web server (Windows NT error number 16389 occurred) __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT: SQL delete count
I'm trying to count the number of records that are ACTUALLY DELETED in the following query. Is there a way to do this? I know the query runs over 100 records but I want to know, say that 50 were matches and got deleted. cfoutput query=AmazonItem cfquery name=DelDescriptions datasource=MediaPost Delete From Descriptions Where Des_Id = #AmazonItem.Id# /cfquery /cfoutput Thanks in advance! Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF LOGS - Deleting, Purging?
Will deleting the Application.log file OR the Email.log OR the Errors.log file for ColdFusion5 cause any problems? I've never really paid much attention to these but now that I'm having problems with my server and I'm trying to look at them, they're just too big to open! Can I delete them and get a fresh start? Is there a way to automatically purge entries in these logs after so many days to prevent this from happening again. Thanks for any insight. Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF LOGS - Deleting, Purging?
Thanks Jim! -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 3:44 PM To: CF-Talk Subject: Re: CF LOGS - Deleting, Purging? Yes, it's OK to delete them. CF just creates new ones. If you need to read a very large log, you might want to rename it first, then try opening it in notepad, or a text editor that can handle large files. I don't believe there's any mechanism within CF to more intelligently manage the logs. It would be nice, though, if you could rotate them or have CF purge old entries so that you could ensure that the logs don't exceed a set size. You could create a script of your own, in Perl or somesuch to trim the logs. Just don't delete the first line within the files, which contains the column names. I've never had any problems opening them within Notebad and periodically trim them down and save them. Jim - Original Message - From: Mark M. Kecko [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, March 06, 2002 1:39 PM Subject: CF LOGS - Deleting, Purging? Will deleting the Application.log file OR the Email.log OR the Errors.log file for ColdFusion5 cause any problems? I've never really paid much attention to these but now that I'm having problems with my server and I'm trying to look at them, they're just too big to open! Can I delete them and get a fresh start? Is there a way to automatically purge entries in these logs after so many days to prevent this from happening again. Thanks for any insight. Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ListContains NOT functioning properly - Help!
Help! When I'm looping over a list Campaign.Vehicles that's coming from a SQL table varchar field I'm getting strange results from ListContains. Looping over Vehicles.code= siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome - several rows from a database call. Campaign.Vehicles=siteMinute,siteNews,site,siteSpin - a 'static' database record. When Vehicles.code = SiteSpin the below ListContains(#Campaign.Vehicles#, #Vehicles.Code#) returns 4. cfloop query=Vehicles input class=text type=checkbox name=#Vehicles.Code# cfif ListContains(#Campaign.Vehicles#, #Vehicles.Code#)checked/cfif nbsp;#Vehicles.Name#brbr /cfloop Actual output to screen from testing: Campaign.Vehicles: siteMinute,siteNews,site,siteSpin Vehicles.Code: siteSpin ListContains - 4 As far as I can see from the output above siteSpin is only in the list Campaign.Vehicles once. Can anybody see something I can't. I've tried specifying the delimiter as a comma, changing the delimiter to a ~, setting the database field to a variable, changing the delimiters of that variable and I've tried all of those things with ListContainsNoCase as well. I've even tried changing the datatype of my SQL database field to nvarchar, ntext etc! Please help, this is holding up a very profitable ad campaign from being served on my site! Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ListContains NOT functioning properly - MORE!
Sorry if my original message is hard to get, just try running this code in a test page. Are the results as expected? What's wrong here? cfset codes=siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome cfset Vehicles=siteMinute,siteNews,siteSpin cfloop list=#codes# index=i cfoutputinput class=text type=checkbox name=#i# cfif ListContains(#Vehicles#, #i#)checked/cfif nbsp;#i#br/cfoutput /cfloop Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 12:32 PM To: CF-Talk Subject: ListContains NOT functioning properly - Help! Help! When I'm looping over a list Campaign.Vehicles that's coming from a SQL table varchar field I'm getting strange results from ListContains. Looping over Vehicles.code= siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome - several rows from a database call. Campaign.Vehicles=siteMinute,siteNews,site,siteSpin - a 'static' database record. When Vehicles.code = SiteSpin the below ListContains(#Campaign.Vehicles#, #Vehicles.Code#) returns 4. cfloop query=Vehicles input class=text type=checkbox name=#Vehicles.Code# cfif ListContains(#Campaign.Vehicles#, #Vehicles.Code#)checked/cfif nbsp;#Vehicles.Name#brbr /cfloop Actual output to screen from testing: Campaign.Vehicles: siteMinute,siteNews,site,siteSpin Vehicles.Code: siteSpin ListContains - 4 As far as I can see from the output above siteSpin is only in the list Campaign.Vehicles once. Can anybody see something I can't. I've tried specifying the delimiter as a comma, changing the delimiter to a ~, setting the database field to a variable, changing the delimiters of that variable and I've tried all of those things with ListContainsNoCase as well. I've even tried changing the datatype of my SQL database field to nvarchar, ntext etc! Please help, this is holding up a very profitable ad campaign from being served on my site! Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Sorry to flood the List BUT.... ListContains NOT functioning properly!
Sorry, but... Why does the below code check 4 boxes when there's only 3 items in the List??? Please help!!! This is costing my company a good deal of cash! - Just copy and paste the code into a test page and run it, you'll see, I hope. cfset codes=siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome cfset Vehicles=siteMinute,siteNews,siteSpin cfloop list=#codes# index=i cfoutputinput class=text type=checkbox name=#i# cfif ListContains(#Vehicles#, #i#)checked/cfif nbsp;#i#br/cfoutput /cfloop Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 12:32 PM To: CF-Talk Subject: ListContains NOT functioning properly - Help! Help! When I'm looping over a list Campaign.Vehicles that's coming from a SQL table varchar field I'm getting strange results from ListContains. Looping over Vehicles.code= siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome - several rows from a database call. Campaign.Vehicles=siteMinute,siteNews,site,siteSpin - a 'static' database record. When Vehicles.code = SiteSpin the below ListContains(#Campaign.Vehicles#, #Vehicles.Code#) returns 4. cfloop query=Vehicles input class=text type=checkbox name=#Vehicles.Code# cfif ListContains(#Campaign.Vehicles#, #Vehicles.Code#)checked/cfif nbsp;#Vehicles.Name#brbr /cfloop Actual output to screen from testing: Campaign.Vehicles: siteMinute,siteNews,site,siteSpin Vehicles.Code: siteSpin ListContains - 4 As far as I can see from the output above siteSpin is only in the list Campaign.Vehicles once. Can anybody see something I can't. I've tried specifying the delimiter as a comma, changing the delimiter to a ~, setting the database field to a variable, changing the delimiters of that variable and I've tried all of those things with ListContainsNoCase as well. I've even tried changing the datatype of my SQL database field to nvarchar, ntext etc! Please help, this is holding up a very profitable ad campaign from being served on my site! Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Synchronization Error
A web user on my site got the below error, I can't reproduce it. Does anybody know what this means or what could be causing it? Thanks. -- Error Occurred While Processing Request Error Diagnostic Information Synchronization error. Please paste the text of this error into a mail message to the system administrator. The service timed-out waiting for the operating system's attempt to guarantee one thread mutually exclusive access to generate a unique Cold Fusion client ID. The error occurred while processing an element with a general identifier of (CFAPPLICATION), occupying document position (3:1) to (6:47) in the template file D:\Inetpub\wwwroot\mediapost\Application.cfm. -- Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Logs - Page cannot be displayed Error
I'm having a problem with my web server, when traffic gets high the server goes down. When I say goes down I mean IIS stops functioning, it looks like it anyway. When I go to the site I get a Page cannot be displayed error almost like DNS isn't working right. The weird thing is though, when I restart CF services the server comes right back up. I've combed the NT logs and haven't found anything odd. Are there certain CF logs that I can look through to see if it's CF causing the problem? Has anyone ever experienced this problem before? Thanks. Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Loop Logic Question
I'm writing an ad insertion tool and I have a logic question. I have 4 weighted ads: Ad1 .4 Ad2 .3 Ad3 .2 Ad4 .1 and I want to distribute them into 10,000 newsletters depending on their weight (4000 Ad1, 3000 Ad2, etc.) I'm trying to throw them in an array with 10,000 elements and add that array to my email query with QueryAddColumn. BUT... I'm having trouble writing the loop structure to go over the 10,000 newsletters and assign an Ad depending on weight. Any suggestions? Mark Kecko Technology Director MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
NT Server Memory
Is there any way to display how much memory is available/being used by an NT server on a web page, using ColdFusion? Mark Kecko Technology Director MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists