RE: new struct func (4.5.1.sp2)
I'll tackle one of these - StructGet() Think of StructGet as a mega cfparam tag. You can do this: CFSET StructGet("Request.Foo.Lower.RealLow.Blah") and it will create the structure. If you did this with cfparam, it would actually create a key called foo.lower.reallow.blah. StructGet actually creates a Foo struct, then a lower struct, reallow, blah, etc. You can also do: CFSET StructGet("Request.Foo.Arr[1].RealLow") and it will create Arr as an array. === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: pan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 29, 2000 10:12 AM To: CF-Talk Subject: new struct func (4.5.1.sp2) has anyone gained sufficient insight from the extremely sparse release notes to understand how to use the new struct funcs? fertile ground for a new tutorial/examples release notes: ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP still broken in SP2
I had no problems using the URL. The only difference, and this shouldn't matter, is that I used a proxy server. === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 8:10 AM To: CF-Talk Subject: CFHTTP still broken in SP2 Substitute the IP address instead of the server name and watch it work!! From: John Rice [EMAIL PROTECTED] Subject: RE: TURKEY VS CFHTTP - [in mime format] [the answer from Allaire] I am having the same exact problem. Does anyone have any ideas? Its a bad time to feel like a turkey so I need some advice in hurry. Anyone know why this returns "Connection Failure" in CFHTTP.fileContent? CFHTTP url="http://www.docboard.org/cgi-shl/nhayer.exe" ~~ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Dave Watts please read - Re: BLOCKFACTOR and MAXROWS
Here's a follow up question. Imagine a situation where you pass a list of IDs to a query. You know that the query will only return, at most, the same # of rows as IDs. Taking the same kind of query, where the amount of bytes returned per row divided into the buffers size would tell us to use 100 for blockfactor, would you still use 100 if the # of IDs was 100? === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 23, 2000 7:14 PM To: CF-Talk Cc: '[EMAIL PROTECTED]' Subject: RE: Dave Watts please read - Re: BLOCKFACTOR and MAXROWS How large are buffers set to? I often use BLOCKFACTOR=100 in a query where I: SELECT ID FROM foo WHERE bar Is this setting a large buffer? The size of the buffer will depend on the maximum size of a returned row. Given that you're using a field called "ID", which is probably an integer, your maximum row size will be 4 bytes. One hundred rows of 4 bytes each will take 400 bytes, which will be a small fraction of the maximum buffer size of 32,768 bytes. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Kooky Form Field/List question.
Don't forget you can treat Forms like structs. This is a bit cleaner (well, IMHO): Form[test] === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: David E. Crawford [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 11:35 AM To: CF-Talk Subject: Re: Kooky Form Field/List question. Use #evaluate("form.#test#")# to output the value of the form variable, based on your looping construct. DC - Original Message - From: "Willy Ray" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Monday, November 20, 2000 15:48 Subject: Kooky Form Field/List question. I work on a college campus, and frequently I'm asked by faculty/staff/students, why they can't just make a form in front page express and have it send them an email (and we don't have the server extensions). I have the hardest time explaining what a form handler is, and how frontpage just can't do it. So, I decided to make a generic Coldfusion form handler. Something that, provided it was passed an email address, subject line, and a redirect URL (for the success message), it would make an email to the address. Ok, this is the easy part. I have it already. The problem is, I need also to pass *any form fields* other than the ones required for the email in the body of the email. Biology is going to need different things on their form than accounting, see, so I want to make this thing totally generic. So, here's the problem. I can use the automatically-created FORM.fieldnames list to get the field names onto the email like this: cfloop index="test" list="#FORM.fieldnames#" delimiters="," #test# : br /cfloop This code puts the names of the form field onto the email. Easy. I can also test them for whether or not they're one of my required fields, and not print them if they are. What I can't do is print the VALUE of the form fields. Make sense? I was hoping I could do something like this: cfloop index="test" list="#FORM.fieldnames#" delimiters="," #test# : #FORM.#test## br /cfloop Yeah, but I can't. Any thoughts? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Netscape 6 out UGH!!!!
IE is based off of Mozilla? Did I wake up on another planet today? As far as I know, thats _defintely_ not the case. (Although I prefer IE over Netscape as you do.) === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda I also hate to tell you that IE and Netscape are based off of the open source Mozilla project which Opera has followed closely with. Just because it's Microsoft doesn't mean you have to hate it. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: please recommend cf host
Ditto the Media3 recommendation. They host Death Clock (3.6 million hits last month) as well as two other clients of mine. I had issues with them a -long- time ago, but for a very long time now they have been running smooth and w/o any problems, at least as far as I can tell. === Raymond Camden, Principal Spectra Compliance Engineer for Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Brian L. Wolfsohn [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 12:02 PM To: CF-Talk Subject: Re: please recommend cf host At 09:42 AM 11/10/00 , you wrote: www.media3.net we colocate w/ them, but they have plans for small to large setups.. I am a fledgling cf user and am looking for a cf host. This site is the archives of a science journal, with abstracts in HTML, and full text articles in PDF. Here are the characteristics of the site: NEEDS: - Traffic: Average 250 megs transfer per month Disk space: Currently 470 megs, grows by 125 megs per year Needs: Verity collection to index PDF Needs: CFCONTENT tag to push PDF to registered users who are granted access by IP or by userid/password. Access database Site (currently unix) at: http://www.scanning.org/ If you are recommending a host, please include the address of your site located at that host. With your permission, I will run a Netmechanic Serverwatch for 8 hours to check out your host's performance. http://www.netmechanic.com/monitor.htm Thanks. - -- - Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CF Version Control??
Let me add to this that I do a lot of my work solo and I still think version control systems are a must. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: robi sen [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 7:07 PM To: CF-Talk Subject: Re: CF Version Control?? If you dont have money you should check out something like CVS (there are many freeware version s and clients for most OS's). If you have MS Visual Studio use VSS, it you have allot of money use Star Team. Frankly if you are not using at least CVS for version control then you might as well not even use anything in my opinion. R S R wrote: Hi, I'm trying to figure out a way to prevent multiple people from working on the same file at the same time. I was looking into Dreamweaver's Check in/Check Out system and its not fool proof, because I can override someone else's Check Out and copy over it. Is there a way through CF Admin to make all CF files modifiable by only one person at a time? Kind of like the way it works if you were to open a Word document and your buddy tries to open it up while you have it open and it says 'Document is currently in use by another user. Would you like to view it as a read-only file?' Thanks Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Calling custom tags from within CFSCRIPT?
You can't call any tags (CF_Foo, CFDIRECTORY, CFETC) from CFSCRIPT. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 9:07 AM To: CF-Talk Subject: Calling custom tags from within CFSCRIPT? CFSCRIPT is generally faster than a bunch of tags, right? So I'm trying to use that when possible. But can you call custom tags from within CFSCRIPT? I didn't see any mention of it in my books. Seems like something you should be able to do, doesn't it? Ryan -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: SP2 Enhancement Speculation (was Threading Issue)
If I had to guess... StructFindKey is the same as StructKeyExists, but maybe it returns the value automatically. StructFindValue() perhaps returns the key that matches a value. StructFindKey(), StructFindValue() I'm at a complete loss for these. Anyone got any ideas? Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Include Perl script?
It would be better to use CFEXECUTE to call the Perl script. This is assuming you have CF 4.5+. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Warrick, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 7:52 PM To: CF-Talk Subject: RE: Include Perl script? Try CFHTTP and include the results into your CFM page. -- Mark Warrick Phone: (714) 547-5386 Efax.com Fax: (801) 730-7289 Personal Email: [EMAIL PROTECTED] Personal URL: http://www.warrick.net Business Email: [EMAIL PROTECTED] Business URL: http://www.fusioneers.com ICQ: 346566 -- -Original Message- From: Ethan Rosch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 2:03 PM To: CF-Talk Subject: Include Perl script? I am trying to include a poll.cgi perl script into my .cfm page, but I am having trouble getting the .cgi to parse, read the templates, and spit the page back to me as an include... any ideas? thanks, ethan -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: Spectra Question
This is a known issue. I _believe_ Rich Ragan issued a patch for this in the Developer's Exchange (essentially it 'scrubs' the input). === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Deepak Agarwal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 10:54 AM To: CF-Talk Subject: Spectra Question I am currently using HTML Editor provided by Spectra. The problem I am having is, when ever I create a link through the editor and view it's HTML source, the link get's changed. For example I have Hotmail(In the text body) and linked it to (http://www.hotmail.com) through the create Link Icon in the Editor. Now when I view the HTML Source of this through the editor, the link gets changed to http://mycurrentwebserver.www.hotmail.com Does anyone have any ideas/suggestions how to fix the problem or is it a bug in HTML Editor. Thanx, Deepak Agarwal 703.633.4257 -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED] Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message with 'unsubscribe' in the body to [EMAIL PROTECTED]
RE: CF browser detection???
Check the CGI.USER_AGENT variable. Of course, it's about as clear as mud, but you can parse the string to determine if the browser is NS or IE. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 3:38 PM To: CF-Talk Subject: CF browser detection??? CFOUTPUT query="GetNews" STARTROW="#the_start#" MAXROWS="3" if Netscape stupid browser,MAXROWS="6" if IE Obviously the above won't work, but is there something like this that will?? CFIF?? I don't want to use a javascript detection and redirect to a whole new page. Jeff -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CF browser detection???
I remember writing a string parser for this a while back, don't some MS browsers spell out the whole name? I want to say maybe some Mac versions? Oh, and it's CGI.HTTP_USER_AGENT. I forgot the HTTP. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Doug Powell [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 3:49 PM To: CF-Talk Subject: RE: CF browser detection??? You can use cfif HTTP_USER_AGENT CONTAINS "MSIE" code cfelse code /cfif -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 3:38 PM To: CF-Talk Subject: CF browser detection??? CFOUTPUT query="GetNews" STARTROW="#the_start#" MAXROWS="3" if Netscape stupid browser,MAXROWS="6" if IE Obviously the above won't work, but is there something like this that will?? CFIF?? I don't want to use a javascript detection and redirect to a whole new page. Jeff -- -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Using MS Access with Cold Fusion (no no)
Heh, while this is certainly true, I just thought I'd mention that DeathClock.com (approx 2-2.5 million hits per month) runs with Access, mainly because I'm too cheap to upgrade to SQL Server. Of course, I cache the heck out of my queries. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 12, 2000 3:23 PM To: CF-Talk Subject: Using MS Access with Cold Fusion (no no) RANT I'm amazed at the amount of posts I see on this list by people mentioning that they are running with MS Access. When you do this, don't be surprised when you have problems. I've talked to Allaire on the phone and they've told me that they reccomend that you never use Access in a production environment. Access is a single user database. Not something to hook in to the web! /RANT RPS -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Help...CFAUTHENTICATE error
Have you upsized your policy database? Search the ALLR knowledge base for advanced security and you will see numerous articles about this issue. By default, CF uses an Access db to store policy information. This db doesn't work too well in the real world and ALLR recommends that people upsize this to either an enterprise DB or an LDAP server. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Kim Ahlbrandt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 10, 2000 5:43 PM To: CF-Talk Subject: Help...CFAUTHENTICATE error Using CFCATCH, I'm getting the errors: #cfcatch.type# - SECURITY #cfcatch.message# - CFAuthenticate Tag Error. #cfcatch.detail# - Invalid Security Context 'Pilot'. I tried creating the Security Context "Pilot" but I guess I didn't do it right. None of the books I have here are helping...could anyone give me a step by step overview of how to set what I need up under "Advanced Security Features". I have a DB2 File with names and passwords that I'd like to check the login information against but I'd even be happy to get just a non-DB2 test user table set up with one or two id's Thanks, sorry to ask for so much but I have been trying to figure this out for WAY too long... Kim _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: random by day
I believe the best solution is to do the random pick in SQL, but, as a side note, this code: cfset RandNum = #RandRange(1,getrecords.RecordCount)# CFLOOP QUERY="getrecords" CFIF CurrentRow EQ #RandNum# CFOUTPUT Random Record No = #getRecordsrecord.ID#BR Quote = #getrecords.Quote#BR Author = #getrecords.Author# /cfoutput /cfif /cfloop should be written (or could be :) like so: cfset RandNum = #RandRange(1,getrecords.RecordCount)# CFOUTPUTQuote = #GetRecord.Quote[RandNum]#/CFOUTPUT Even cuter: CFOUTPUTQuote = #GetRecord.Quote[RandRange(1,getrecords.RecordCount)]#/CFOUTPUT Remember that you can treat a query like an array and access a particular cell and row. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda CFLOOP QUERY="getrecords" CFIF CurrentRow EQ #RandNum# CFOUTPUT Random Record No = #getRecordsrecord.ID#BR Quote = #getrecords.Quote#BR Author = #getrecords.Author# /cfoutput /cfif /cfloop === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Larry Juncker [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 5:08 PM To: CF-Talk Subject: RE: random by day Why not this? cfquery name="getrecords" datasource="MINE" SELECT * FROM QUOTES /cfquery cfset RandNum = #RandRange(1,getrecords.RecordCount)# CFLOOP QUERY="getrecords" CFIF CurrentRow EQ #RandNum# CFOUTPUT Random Record No = #getRecordsrecord.ID#BR Quote = #getrecords.Quote#BR Author = #getrecords.Author# /cfoutput /cfif /cfloop Larry Juncker Senior Cold Fusion Programmer Heartland Communications Group, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 3:50 PM To: CF-Talk Subject: random by day Last week there was a discussion about pulling a random quote from a database. I would like to pull a record from a database once a week, lets say every sunday. Kind of like the quote of the week. Whats the best way to do that? KM --- --- Get free personalized email at http://www.iname.com -- -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFLOCK datasource var?
-Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 29, 2000 5:04 PM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: RE: CFLOCK datasource var? I'm unfamiliar with the request scope and can't seem to find it in any of my docs. Where is a request-scope var stored? It's new to CF 4.5.x. It's similar to the local Variables scope Actually it was in CF 4.01. (And no, I don't mean to be nitpicky, but I know a lot of people still use 4.01, so I didn't want anyone to think they couldn't use it. :) === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
OT: RE: Learning ASP *sheepish look*
I wouldn't bother with a beginners guide if you Know VB. Also , check out ASPtoday.com and 4guysfromrolla.com Of course ASP+ is a different thing altogether.. CF_CoverMyButtWhile I'll always prefer CF/CF_Cover.., ASP+ is pretty dang sexy. I've spent some time with it and I'm pretty impressed. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Calling CF template from perl?
Two ways, three ways actually: CFEXECUTE - Under CF 4.5 CFHTTP (set up the perl script as a CGI) CF_Perl, a custom tag I wrote, that allows you to embed the code directly in the file (but it uses CFEXECUTE as well) === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 23, 2000 7:49 AM To: [EMAIL PROTECTED] Subject: Calling CF template from perl? Hi, through a combination of circumstances beyond our control we have inherited a Perl script which we need to get running on an NT system. The part thats giving us problems is mailing from the script as we can't use an SMTP server or install any additional software on the NT box (don't ask why, if we could do it Blat would be on that machine as we speak). We do have access to CF 4.0 on the server though, so we were wondering - can we send the email data from the perl script to a CF template which would do the mailing? The script is set up with a mailing subroutine which is passed four variables - To, From, Subject and Message, all messages will be pre-defined and fairly short in length. Anyone have any ideas on this? We have a very basic level of Perl experience so if any answers can not assume we know what we are doing it may save time ;) Wayne Putterill -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: What is: Team Allaire?
Check this out: http://www.allaire.com/handlers/index.cfm?ID=281Method=FullPageCall=/suppo rt/index.cfmTitle=Team%20AllaireCache=False P.S. I was never a member of MJ12, but I did drive the ambulance back in Roswell. ;) === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Angel Stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 10, 2000 6:09 AM To: [EMAIL PROTECTED] Subject: What is: Team Allaire? Hello boys and girls :-) I was just wondering, who are Team Allaire, and how does one join this elite group? Does becoming a basic Consulting/technological partner allow you access to special resources etc. (especially sales and marketing resources) and put you in, or give you access to Team Allaire?? I am once more forced to do a "Cost Justification" for the US450.00 to sign up as a Consulting/Technology partner, and was looking for anything more that I can add beside the benefits listed on the website. *sigh* -Gel p.s. I heard that Team Allaire was a part of Majestic 12;-P -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: I need a host. Intermedia testimonials
When I hear a story like this, I have to wonder... have you talked to a human @ Interland who can explain why such a simple thing hasn't been done yet? Have you threatened to stop payment? I can't imagine waiting more then 24 hours for something like this to get fixed. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Gavin Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 10:53 AM To: '[EMAIL PROTECTED]' Subject: RE: I need a host. Intermedia testimonials 2 Months ago i would have said Interland... but they started to move crap around and our database hasn't been put back on our server YET... its been over a month now with no db, I'm pretty pissed at it, and maybe its just one of those things. Their price is ok, the site is ok, they have sql. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: I need a host. Intermedia testimonials
Same here. Media3 hosts DeathClock.com (approx 2.2-2.5 million hits per month) and has served me well for around 2 years now. They aren't perfect, and I've had problems in the past, but it seems like they have been near perfect for many, many months now. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Brian L. Wolfsohn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 08, 2000 10:56 AM To: [EMAIL PROTECTED] Subject: RE: I need a host. Intermedia testimonials At 10:50 AM 8/8/00 , you wrote: we've use www.media3.net for over 3 years now. i can recommend them highly. we started out putting on individual domains, and now have 4 boxes co-located on their farm. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Advanced Security user directory issue...
Ah geeze, didn't even remember that option existed. This is what happens to your memory/coding skills when you have a baby. ;) Alright, I'll pass this on to my coworker. Thanks. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: jeff tapper [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 6:10 PM To: [EMAIL PROTECTED] Subject: Re: Advanced Security user directory issue... Ray -- we had this problem when we converted our userDirectory to Oracle. For us, we solved it by going into the CFAdmin, and setting the userDirectory password under the advanced secutiry section. hope this helps. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Advanced Security user directory issue...
I'm trying to help a coworker over the phone so I don't have access to the files in question, but her problem seems to be this. We have a userdirectory set up in SQL Server. The ODBC control panel can correctly connect to it with no problems. We even setup the DSN in ColdFusion Admin and had no problems talking to it. However, when we try to authenticate, we get a failure. Looking at the log files, it appears as if Netegrity tries to connect to the DSN w/o passing in a username and password. Has anyone seen this before? On my local machine, I had no problems with Netegrity speaking to SQL Server. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFHTTP Help
As far as I know CFHTTP will wait for the remote page to finish, unless you specify TIMEOUT. Tell me, is this Perl page on the same server? If so, you could simply use CFEXECUTE and call the Perl script directly. That is if your using CF 4.5. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 3:23 PM To: [EMAIL PROTECTED] Subject: CFHTTP Help I have a question. I am running a slow perl page by sending a CFHTTP request. The perl script write a file. My code then opens the file with cffile but it can't find it. I think CF isn't waiting for the CFHTTP to complete before trying to find the file? I there a way to force CF to wait for the Perl script to finish? Thanks, Neil -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Another cflock question
It's OK, and in fact, it's better to use one CFLOCK wrap. As for a good timeout, I always use 30, but have not heard of a 'good' figure. It probably depends on your estimated load. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Bud [mailto:[EMAIL PROTECTED]] Sent: Friday, July 14, 2000 8:43 AM To: [EMAIL PROTECTED] Subject: Another cflock question OK. I'm finally going back through the apps I've built and am going to wrap all my cfset session. tags in locks. Question: If I have a block of tags, like so: cfset session.weight = 0 cfset session.sh = 0 cfset session.state_tax = 0 cfset session.subtotal = 0 cfset session.grandtotal = 0 Is it OK to wrap the whole block in a single cflock tag, or should each one be wrapped individually? Also, what's a good cflock timeout= value to use when setting session and/or application variables? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Spectra Questions
Spectra works on CF 4.01, but not CF 4.0. And yes, Enterprise is needed. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Cameron Childress [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 10:19 AM To: [EMAIL PROTECTED] Subject: RE: Spectra Questions That error would seem to indicate that you are not running version 4.5. Last time I checked, it actually requires 4.5 Ent (eval should work), not version 4.x. Either way, it ain't gonna work without the Enterprise version. Those requirements aren't there for nuttin. -Cameron Cameron Childress McRae Communications p. 770-460-7277 x.232 f. 770-460-0963 -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 13, 2000 10:07 AM To: ColdFusion Discussion List Subject: Spectra Questions I know the download page says that Spectra should run on CF Enterprise. The thing is I'm only evaluating the product to get a general feel of what it can do. It seemsed to install properly on my NT 4 workstation with CF Eval. The problem occurs when I try to run the webtop. It doesn't recognize the "type" attribute in the CFLOCK tag. When I remove the attribute (for testing only) it then errs out at the CFA tags. Has this anything to do with the fact that I am not running the Enterprise version? Thanks -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFEXECUTE Problems
Correct me if I'm wrong, but isn't TIMEOUT=X required? I believe the docs forget to mention it, but that could be your problem. mm... nope, still not working for me. In addition to your example, I've also tried running it from a cmd.exe shell - i.e.: cfexecute name="c:\winnt\system32\cmd.exe" arguments="net user testme testme /add" /cfexecute ... still no dice. I couldn't get it to work that way, either. Is your CF service running as localsystem? -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Advanced Security
Check to make sure the advanced security services are running. Theres two of them, SiteMinder Authorization and SiteMinder Authentication. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Sean Renet [mailto:[EMAIL PROTECTED]] Sent: Monday, July 10, 2000 2:45 AM To: [EMAIL PROTECTED] Subject: Advanced Security Anyone ever install CF Server, go into the administrator, click on the advanced security link and get this: Error Diagnostic Information Security Policy Administration Security Policy Administration is not available. I check the advanced security option on installation like usual. I have never gotten this error before -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: When should I use CFLOCK?
I believe it comes down to this, short and sweet: If you type session, application, or server, you use CFLOCK. Period. End of Story. So sayeth Ray, etc etc. As for your CFIF, yes, you would have: CFLOCK SCOPE="Session" TYPE="ReadOnly" TIMEOUT=30 CFIF IsDefined("Session.YourMamaIsSoFat") ... /CFIF /CFLOCK === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Tom Nunamaker [mailto:[EMAIL PROTECTED]] Sent: Friday, July 07, 2000 11:39 AM To: [EMAIL PROTECTED] Subject: RE: When should I use CFLOCK? Ben, After reading the Allaire KB article on locking, I put CFLOCK's around all instances of any session or server variables. The one place that seems a bit muddy is if the read is within a CFIF statement. I put the lock around the entire CFIF but is that required? I implied that it was from the KB article but I have never seen that specifc guidance anywhere. Thanks Tom At 7/6/00 05:02 PM, you wrote: Tom, -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: When should I use CFLOCK?
Incorrect. You should use CFLOCK when reading as well. Basically, if you TYPE session, server, or application, you should have a CFLOCK around it. This includes: CFPARAM NAME="Session.Foo" DEFAULT=1 And, CFOUTPUT QUERY="Session.StoredQuery" .. /CFOUTPUT === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Gregory Harris [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 1:23 PM To: [EMAIL PROTECTED] Subject: Re: When should I use CFLOCK? Does anyone have any guidelines on cflock usage? You should use CFLOCK when you are setting session variables to insure that you maintain consistency throughout your code. Reading however, is not a problem. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. Gregory Harris Los Angeles ITA Dept. [EMAIL PROTECTED] -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: cfexecute perl
CFEXECUTE doesn't get output sent to stdERROR (or however it's referred to). You have to redirect error output to stdOut (or stdOutput), sorry, my Perl is a bit rusty, but this applies to everything (involving cfexecute I mean). === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Helge Hetland [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 29, 2000 4:20 PM To: '[EMAIL PROTECTED]' Subject: cfexecute perl Why isn't this giving any output? cfexecute name="perl" arguments="blabla" timeOut="20"/ When executing the same command (perl blabla) under the cf user account it reports: Can't open perl script "blabla": no such file or directory Shouldn't I get the same results from cf? (running cfexecute name="ls" arguments="-al" timeOut="20"/ returns a directory listing in cf) What do I run the script directly to get a output? I'm trying with ./perlscript.pl with no result. Helge -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: news feeds
I believe they are referring to the fact that if you use CFHTTP to hit a site, and the site doesn't return the correct headers, CFHTTP.FileContent will equal: "Something something was not ASCII text and could not be rendered." If you have ColdFusion 4.01, you would not see this. I'm not 100% sure that's the problem, I'm just guessing. As it stands, this change in behaviour kind of ticks me off. I wish CF just wouldn't care about the headers. If I chose to try to display a 2 meg gif from CFHTTP.FileContent and things go to heck, that's ok, but don't just automatically say I can't show it if the remote server returned improper headers. Oh, this is something that causes a problem with one of UPS's services as well. The only way around it is to use the attribute of CFHTTP to save the date to a file. For some reason, CFHTTP has no qualms about doing that. Then you can load it and play with the date at will. Again, I'm just guessing. :) === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Steve Martin [mailto:[EMAIL PROTECTED]] Sent: Friday, June 16, 2000 4:38 AM To: [EMAIL PROTECTED] Subject: RE: news feeds Just wondering what the "bug in ColdFusion" is that prompted moreover to provide a seperate feed for CF as well as the basic WDDX feed. I have had no problems using the WDDX one with 4.5. Any ideas anyone? Steve -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Cf express and sessions
I don't pretend to speak for Allaire, but my impression is that any serious web developer should upgrade from CF Express to 'the real deal' instead of using my 'hack.' I wrote a simular article for CFDJ concerning using custom tags for Express. I consider both articles to be more of a "here's an interesting idea" then "use this for your Amazon.com clone" type deal, know what I mean? CF_OT 8 hours left till end of day and the beginning of the three day weekend. :) /CF_OT === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 25, 2000 6:48 AM To: [EMAIL PROTECTED] Subject: RE: Cf express and sessions Raymond's lucid explanation of how to get around CFExpress's absence of session management is available on this official Allaire page: http://www.allaire.com/developer/referenceDesk/index.cfm Thanks, Raymond Umm... A bit of interesting irony in a company crippling a product in a certain way while at the same time publishing a reader "hack" explaining how to restore the missing functionality... Gene Kraybill -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Cf express and sessions
Oh hey, my company was just bought out by British Telecom - I wonder if that means that I can knock off earlier. ;) Ok, I'll stop now before being admonished to move to cf-soapbox/cf-community. :) === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Reynolds, Adam [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 8:25 AM To: '[EMAIL PROTECTED]' Subject: RE: Cf express and sessions 8 Hours?naw should move to the UK only have 3 hours to go... :-) Adam Reynolds -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Killing Session Back Button
You should _never_ use this code. It may work to log you out, but if your using CF 4.5, the server will throw an error next time you try to set a session var. Before 4.5, StructClear would not touch the 'special' Session vars that CF uses to identify you. With CF 4.5 and higher, StructClear will nuke them. You can do one of two things: 1) Keep all your stuff in a substruct, like Session.MyApp, then do StructClear on that. 2) Use StructDelete to nuke individual keys. 3 hours till vacation. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Mark Warrick [mailto:[EMAIL PROTECTED]] Sent: Friday, May 26, 2000 12:15 PM To: [EMAIL PROTECTED] Subject: RE: Killing Session Back Button I use the following code to kill session variables. cfoutput #StructClear(session)# /cfoutput If, by chance, a user tries to backup, all they are going to see is the same thing that they saw before the hit the logout button. If they try to do anything else, my security logic kicks them back to the login page. ---mark - Mark Warrick (714) 939-6431 The Sistonia Corporation [EMAIL PROTECTED] http://www.sistonia.com -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 25, 2000 11:48 AM To: CF Talk Subject: Killing Session Back Button I have a link on my site for users to log out. This takes them to a page that kills all session variables and then directs them back to the login page. However, if they hit the back button, they can get back to where they were when they logged out, refresh the page, and their variables are reset. How can I kill the variables so the page isn't available with the back button without them? TIA ~~ Steve Reich Backsoft Corporation 6960 Professional Parkway East Suite 100 Sarasota, Florida 34240 Toll Free: (888) 222-6047 Phone: (941) 907-6655 - Ext.1038 Fax: (941) 907-6643 email: [EMAIL PROTECTED] web: http://www.backsoft.com "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke ~~ -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: custom tag modes
But you _can_ simply ignore the execution mode. A ex-coworker of mine used to do that. His custom tags would allow you to pass in Mode="end", and if attributes.mode was detected, he would use that value instead of ThisTag.ExecutionMode. Of course, I'm not exactly sure what the original emailer has in mind. I believe the main reason he did this was to allow for 'closing' custom tags on different template. Ie, you can't do: application.cfm: CF_Page onRequestEnd.cfm: /CF_Page so he would do: application.cfm: CF_Page onRequestEnd.cfm: CF_Page Mode="End" === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 16, 2000 8:44 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: custom tag modes is there a way to control the state of a custom tag?? i mean if i want to keep the custom tag mode just to "start" and later i can (by doing something) can get it into "inactive" mode?? No, you can't do that. The state is derived from the line currently being executed in the calling page. CF_FOO !--- execution mode is "start" --- ... !--- the custom tag is now inactive --- /CF_FOO !--- execution mode is "end" --- Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Very odd IIS error
I'm seeing a -very- wierd IIS error when using PLPs in Spectra. The error is random, but it happens often. Also, I've _never_ seen IIS give this error before. I'm assuming it's the CFLOCATIONs that PLPs use, but I can't imagine why I'd get this error: While trying to retrieve the URL: http://(deletia)/allaire/spectra/webtop/systemdesign/plpdesigner/plpcreate.c fm?si=D4100A90%2D281A%2D11D4%2DA56600A0CC5EE46C The following error was encountered: ERROR 113 -- The syntax for the URL you entered is not valid. This means that: You made a typing error or the URL you entered might not follow the rules for the syntax of URLs. Please reenter the URL in the correct form. If you examine the URL above, you will see that there is nothing wrong with it (except the (deletia) part which is my edit). Any ideas? === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFModule Parent/Child Tags
What bug? Your saying you can't do: CFMODULE TEMPLATE="buttons.cfm" and that you have to use: CFMODULE TEMPLATE="buttons." ?? I've never seen that before. Are you sure or am I misreading you. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Reuben Poon [mailto:[EMAIL PROTECTED]] Sent: Monday, May 08, 2000 11:59 AM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: CFModule Parent/Child Tags For everyone interested, I fixed my problem with the nested CFMODULE tags. Thank you very much James Sleeman for your help. The solution is two-fold. First, Cold Fusion has a bug that truncates the last character of the custom tag so when my custom tag file name is "buttons.cfm" the CFMODULE tag name becomes "button." Second, when using CFASSOCIATE to associate a child tag with its parent tag (which are both CFMODULE calls), you need to prepend CF_ to the custom tag name. Therefore, the CFASSOCIATE tag becomes CFASSOCIATE BASETAG="CF_BUTTON" -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: RandRange Error in CF 4.5 Pro.
The number is above the maxint for CF 4.5. Before CF 4.5, maxint wasn't enforced. I don't have the # for maxint in front of me right now, but I'm pretty darn sure it's in the release notes here we go: In ColdFusion 4.5 as opposed to CF 4.0.1, more extensive range-checking is performed to determine whether an argument is an integer. This may lead to situations where code which executes correctly on CF 4.0.1 results in an error in CF 4.5. For example, the maximum value for the 1st argument in FormatBaseN function is 2147483647 on some Windows NT machines. [13549] === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Mike Connolly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 6:46 AM To: 'CF-Talk' Subject: RandRange Error in CF 4.5 Pro. Help. The following code is included in the source code for AbleCommerce, which works fine on CF 4.01... CFSET NST2 = Int(((Now()-Int(Now())+RandRange(75634586,7904827159 but in CF4.5 Pro this code generates this error Parameter 2 of RandRange which is now "7904827159" must be an integer Is this a bug in CF 4.5 Pro? Can anyone help, Thanks Mike --- Any opinions expressed in this message are those of the individual and not necessarily the company. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this message in error and that any use is strictly prohibited. Sapphire Technologies Ltd http://www.sapphire.net -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Cf express and sessions
FYI, per my last email, I plan on actually writing an article about this method sometime soon. Sorry to just 'show the code' and run. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED]] Sent: Friday, April 28, 2000 1:12 PM To: [EMAIL PROTECTED] Subject: RE: Cf express and sessions Anyone... Please -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 27, 2000 10:03 AM To: [EMAIL PROTECTED] Subject: Cf express and sessions Hello, I am looking for an answer. Does CF express support sessions? At first glance it aperies not to. Has anyone found a work around for this? CFexpress docs are as clear as mud. Listing tags on both the supported and not supported lists. It is trying to say that some of the functions of that tag are supported. I know, I know I should not complain it is free after all. Thanks, Mark W. Breneman -Cold Fusion Developer -Network Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -- -- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Information on Allaire.com about certification
I thought some of you mind find this interesting: http://www.allaire.com/handlers/index.cfm?ID=15376Method=FullTitle=Allaire %20Certified%20Professional%20Program%20PreviewCache=False It's information about the Allaire Certified Professional Program. Enjoy. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: To and from Perl scripts
Hey Joel, if your talking about my CF_Perl, be aware that the tag is more of an example of CFEXECUTE. I'm not sure it's the best solution for a 'real' web site. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Joel Firestone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 20, 2000 5:08 PM To: [EMAIL PROTECTED] Subject: Re: To and from Perl scripts Thanks, guys. I also in my travels found CF_Perl, in case anyone ever needs a fix like we did in the future. === Joel Firestone - Developer Delmarva Online http://www.dmv.com/ "Joel Firestone" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... CF-Talkers: Is there anyway to have a template run a Perl script, passing it a variable, have the script do it's thing, and take what it did and continue to process the request? I haven't messed with CGI in 2 years, and even then, my experience was brief. Any help would be greatly appreciated. Thank you for your time. === Joel Firestone - Developer Delmarva Online http://www.dmv.com/ -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CFMODULE
CFMODULE runs a template just as if it were a custom tag, so if that template does: CFSET Caller.Sum = ... then your calling template will have access to a variable called Sum. I'm assuming you know about custom tags and such so I won't go into too much detail here. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Mark Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 20, 2000 10:48 AM To: '[EMAIL PROTECTED]' Subject: CFMODULE Quickie, Does anyone know if it is possible, and then how, to get something back from a CFMODULE call. For instance the sum of the 3 numbers or something like that. Cheers in advance, Mark -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: CF - Spectra
A book is coming out in May, "Allaire Spectra E-Business Construction Kit" http://shop.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0789723654 === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Won Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 20, 2000 1:02 PM To: [EMAIL PROTECTED] Subject: CF - Spectra Anyone know of web sites dedicated to spectra development? Better yet anyone know of any good books about spectra development? -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: To and from Perl scripts
Check out the CFEXECUTE tag, it will handle this for you. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Joel Firestone [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 20, 2000 3:51 PM To: [EMAIL PROTECTED] Subject: To and from Perl scripts CF-Talkers: Is there anyway to have a template run a Perl script, passing it a variable, have the script do it's thing, and take what it did and continue to process the request? I haven't messed with CGI in 2 years, and even then, my experience was brief. Any help would be greatly appreciated. Thank you for your time. === Joel Firestone - Developer Delmarva Online http://www.dmv.com/ -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Compaq's CF Solution
Does anyone know the official name of the CF package Compaq provides? It's a big cluster preinstalled with CF, basically a buy it, plug it in, and turn it on type solution. I believe it's the same thing they showed off at the conference. I need both a name and a URL if possible. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Stock ticker
I would assume that any tag that takes content and repurposes for another web site w/o permission of the original web site would be illegal. Of course, this reminds of the conversation about discovering someone stealing your graphics by using IMG SRC="http://www.yourserver.com" and replacing the graphic with something a bit embarassing. You could do the same thing here if you find that someone is syndicating your content w/o your approval. CF_Disclaimer Of course, I'm not a lawyer. /CF_Disclaimer === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Steve Reich [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 4:13 PM To: [EMAIL PROTECTED] Subject: RE: Stock ticker Also illegal if it grabs from yahoo or something. Why is this illegal? I didn't write the tag, but I just wondered. Are all tags that syndicate content via CFHTTP illegal (ie. accuweather, Dilbert, etc...)?? -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Stock ticker
Of course, bare in mind that whoever provides the reports to Yahoo may have chosen to give them the information for free, but it may not mean they want to share it with the world. === Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Gregory Weiss [mailto:[EMAIL PROTECTED]] Sent: Monday, April 10, 2000 4:35 PM To: '[EMAIL PROTECTED]' Subject: RE: Stock ticker I think the issue comes down to if its costing Yahoo or NOT for the content. If they are paying for the content, but we are then pulling from them for free, I'd say that is illegal because they have bought the right to that Data FEED (not necessarily the info). If the person is providing the data for free, either to Yahoo, or for us to gather directly, I would say we would all be in the clear. So we should find this out, but we are definitely interested in getting a fully functionally CF available Stock Ticker for our production web sites. Gregory L. Weiss Web Development Project Leader Trapezoid, Inc. 4107 Laguna Street Coral Gables, Florida 33146 (305) 442-8060 x230 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: structclear
It will not clear client vars, that's a different scope. And yes, you should use CFLOCK in the case I described below. To be 100% safe, you should -always- use CFLOCK. === Raymond Camden, Webmaster of the Death Clock (www.deathclock.com) Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Won Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 03, 2000 11:49 AM To: '[EMAIL PROTECTED]' Subject: RE: structclear This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01BF9D84.2235BDF0 Content-Type: text/plain; charset="windows-1252" You mean it will clear client variables as well? I use that line of code for logout function. I think you were the person that also recommended that one put a cflock around tags that manipulate session variables...should it be done in this case as well? -Original Message----- From: Raymond K. Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, April 03, 2000 11:14 AM To: [EMAIL PROTECTED] Subject: RE: structclear It works, but too well. It also clears out session vars that ColdFusion uses to track you. You should either use StructDelete to remove individual variables, or simply store all of your stuff in a substructure, like Session.MyVars. Then you can call StructClear on that structure w/o any worries. === Raymond Camden, Webmaster of the Death Clock (www.deathclock.com) Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Won Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, April 03, 2000 9:51 AM To: cf-talk (E-mail) Subject: structclear I thought I had read that this line of code no longer works well in 4.5, is this true? cfset StructClear(session) Is there a better alternative? Should I be surrounding this with cflock? Won Lee Systems Consultant New Channel Technologies (330) 220-1558 [EMAIL PROTECTED] "Turning ideas into e-Business" allaire Premier Partner -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- -- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --_=_NextPart_001_01BF9D84.2235BDF0 Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" HTML HEAD META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dwindows-1252" META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2448.0" TITLERE: structclear/TITLE /HEAD BODY PFONT SIZE=3D2You mean it will clear client variables as = well?nbsp; I use that line of code for logout function.nbsp; /FONT /P PFONT SIZE=3D2I think you were the person that also recommended = that one put a lt;cflockgt; around tags that manipulate session = variables...should it be done in this case as well?/FONT/P PFONT SIZE=3D2-Original Message-/FONT BRFONT SIZE=3D2From: Raymond K. Camden [A = HREF=3D"mailto:[EMAIL PROTECTED]"mailto:raymond.k.camden@sy= ntegra.com/A]/FONT BRFONT SIZE=3D2Sent: Monday, April 03, 2000 11:14 AM/FONT BRFONT SIZE=3D2To: [EMAIL PROTECTED]/FONT BRFONT SIZE=3D2Subject: RE: structclear/FONT /P BR PFONT SIZE=3D2It works, but too well. It also clears out session = vars that ColdFusion uses/FONT BRFONT SIZE=3D2to track you. You should either use StructDelete to = remove individual/FONT BRFONT SIZE=3D2variables, or simply store all of your stuff in a = substructure, like/FONT BRFONT SIZE=3D2Session.MyVars. Then you can call StructClear on = that structure w/o any/FONT BRFONT SIZE=3D2worries./FONT /P PFONT = SIZE=3D2=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D/FONT= BRFO
RE: Inline html editor
It seems like you were lied to, or a mistake was made. I prefer to think the presenter made a mistake - it happens. Of course, by definition, CFA_HTMLEditor does _work_ in Netscape, ie, it doesn't throw an error, but you don't get the fancy DHTML stuff. You are correct, of course, that someone could build such a tool that would work in both Netscape and IE. === Raymond Camden, Webmaster of the Death Clock (www.deathclock.com) Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Judah McAuley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 29, 2000 3:37 PM To: [EMAIL PROTECTED] Subject: Re: Inline html editor At 03:19 PM 3/29/00 -0500, you wrote: Are you saying you got cfa_htmleditor to work in netscape? No, I'm saying that I was told that it worked. I didn't do anything, I sat and watched the people demonstrating do things. I was also saying that, with creative use of javascript to tweak the DOM, you *should* be able to make a tool such as cfa_htmleditor work under Netscape. It is entirely possible that I was lied to, and it doesn't work under Netscape. Wouldn't be the first time I was lied to by presenters. Judah -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf _talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: [Help !!!! with session time outs]
I've never timed it, so I can't say for sure. I'm sure there is SOME delay since your adding another tag. Something else to consider is copying application vars to the request scope, but this would entail a copy for each hit, and would only be useful for app vars that you only read. === Raymond Camden, Webmaster of the Death Clock (www.deathclock.com) Cold Fusion Jedi Master for Syntegra (www.syntegra.com) Allaire Certified Instructor and Member of Team Allaire Email : [EMAIL PROTECTED] ICQ UIN : 3679482 "My ally is the Force, and a powerful ally it is." - Yoda -Original Message- From: Won Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, March 27, 2000 11:00 AM To: '[EMAIL PROTECTED]' Subject: RE: [Help with session time outs] This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01BF9805.78B8A1D0 Content-Type: text/plain; charset="windows-1252" what's the added overhead on cflock around application, session, and client variables? --_=_NextPart_001_01BF9805.78B8A1D0 Content-Type: text/html; charset="windows-1252" !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" HTML HEAD META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252" META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0" TITLERE: [Help with session time outs]/TITLE /HEAD BODY PFONT SIZE=2what's the added overhead on lt;cflockgt; around application, session, and client variables?/FONT /P /BODY /HTML --_=_NextPart_001_01BF9805.78B8A1D0-- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.