I am currently out of the office and will return on Monday, August 21. Any urgent concerns should be forwarded to David McCormick or Mary Prosceno. >>> CF-Talk 08/11/00 06:37 >>> CF-Talk Fri, 11 Aug 2000 Volume 1 : Number 134 In this issue: Re: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Preventing Browsers Cacheing a .cfm file Re: Preventing Browsers Cacheing a .cfm file RE: Problem carrying over form values. RE: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! RE: Preventing Browsers Cacheing a .cfm file Re: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! RE: OT eWebeditPro & CFML RE: VERY SAD (was <CFGRID onvalidate="???">) RE: CF, ODBC and 64k data RE: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Re: Certified? History list Re: History list RE: Latest WDDX_COM.DLL RE: History list RE: Structs contained within the application scope? RE: (IIS) Customer file uploads - restrictions of file types RE: VERY SAD (was <CFGRID onvalidate="???">) [OT] REQ testimonials from SAG Electronics customers. RE: server printing Re: Is there a variable for a query's name? RE: RE: Array Confusion RE: IE Browser Cache-Help RE: Can CF be run on a machine which is also running Service Pack 6 Alpha? RE: Problem carrying over form values. RE: "Need your help desperately..." RE: Optimization tips collection RE: in one query refers to 2 different odbc sources RE: "Need your help desperately..." RE: History list Re: History list OT: file upload problems with IIS ---------------------------------------------------------------------- Date: Fri, 11 Aug 2000 15:03:07 +1200 From: David Cummins <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Message-ID: <[EMAIL PROTECTED]> I would actually disagree with that. Someone in our office tried calling a custom tag that alters the generated content with cfmodule, and it did not work correctly, even though it worked when called the standard way. He used </cfmodule> at the end too. David Matthew Walker wrote: > > > > I just signed up with an ISP that does shared web hosting. > > > i use to a stand alone machine and inserting my custom tags > > > in the /customtags directory under my CF install. How would/should > > > an ISP implement this kind of capability on a shared service where > > > multiple sites are using one install of CF? > > > The ISP will probably have you copy your custom tags directory under your > > root. You can either copy the custom tag to which ever directory > > you wish to > > call the tag from or you can put the tags in one central directory and use > > cfmodule to call your tags. > > I'm in the same situation. I place a customtags folder under the root of the > site. Annoyingly, I can't use absolute paths (beginning with a /) to point > to it (has to be set up on the server) so every time I want to call a custom > tags I have to use a relative link with <cfmodule>. One thing to note is > that custom tags that have a closing tag (e.g. <cf_bodycontent/>) will still > work -- you just use </cfmodule> instead. > > I'd really like to see notes in the Fusebox spec about using it in a shared > environment like this. The number of CF Web hosting services is only going > to grow.... > > Regards, > Matthew Walker > Electric Sheep Web Co. > http://www.electricsheep.co.nz/ > > -- > Tel +64-3-374 2137 > Fax +64-3-377 7930 > Mobile +64-25-605 5747 > P O Box 13-907, Armagh > Christchurch 8031 > New Zealand > > ------------------------------------------------------------------------------ > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a >message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 13:44:48 +1000 From: "AustralianAccommodation.com Pty. Ltd." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Preventing Browsers Cacheing a .cfm file Message-ID: <00c701c00346$805015a0$71cbfea9@claudeslaptop> This is a multi-part message in MIME format. ------=_NextPart_000_00C4_01C0039A.5121F240 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is the a code that will successfully prevent a .cfm page from being = cached on a users browser that will work effectively across browsers Kind Regards Claude Raiola (Director) AustralianAccommodation.com Pty. Ltd. Website: www.AustralianAccommodation.com Email: [EMAIL PROTECTED] ------=_NextPart_000_00C4_01C0039A.5121F240 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Is the a code that will successfully = prevent a =20 .cfm page from being cached on a users browser that will work = effectively across=20 browsers</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Kind Regards</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Claude Raiola=20 (Director)<BR>AustralianAccommodation.com Pty. Ltd.<BR>Website: <A=20 href=3D"http://www.AustralianAccommodation.com">www.AustralianAccommodati= on.com</A><BR>Email:=20 <A=20 href=3D"mailto:[EMAIL PROTECTED]">Director@AustralianA= ccommodation.com</A></FONT></DIV></BODY></HTML> ------=_NextPart_000_00C4_01C0039A.5121F240-- ------------------------------ Date: Fri, 11 Aug 2000 13:50:52 +1000 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Preventing Browsers Cacheing a .cfm file Message-ID: <[EMAIL PROTECTED]> >Is the a code that will successfully prevent a .cfm page from being = >cached on a users browser that will work effectively across browsers Yes. You should set up a variable (preferably in your application.cfm) that sets a random number and append that to all your URLs, eg: <cfset token="nc=#randrange(1,999999)#"> <cfoutput> <a href="newpage.cfm?#token#">Click here to go to the non-cached page</a> </cfoutput> The URL will end up something like: newpage.cfm?nc=12314. The dummy argument is ignored by the browser. This will force the browser to get new pages because all the URLs are different. I had big caching problems with Mac Internet Explorer 4.5 before implementing this. -------- Rob Keniger ------------------------------ Date: Thu, 10 Aug 2000 23:59:36 -0400 From: "Jason Aden" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Problem carrying over form values. Message-ID: <[EMAIL PROTECTED]> You can try replacing the " with some string you know the person will not enter, like =A7, or some other character entity. Then you can get that da= ta from the hidden form field and convert it back before entering it into th= e database. Jason Web Application Developer webworld studios, inc. -----Original Message----- From: ColdFusionKid [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 10, 2000 4:25 PM To: [EMAIL PROTECTED] Subject: Problem carrying over form values. Hey guys, I was hoping you could help me on this one... Ok, on one of my forms I have a textarea field that people will type stuff in. Then, they press submit and it goes to a page that displays what they typed and lets them 'approve' it before actually entering it into the database. It all works fine unless they type in something like this in one of the text are= a pages: The dog said, "Hey now!" Then when they press 'submit' and go to the page that lets them look everything over before they add it into the database I carry the fields o= ver my putting them on that page as hidden fields. The problem is, the " " around the words Hey now! will make one of the hidden fields look like th= is: <INPUT TYPE=3D"hidden" NAME=3D"comments" VALUE=3D"The dog said, "Hey now!= ""> So the only thing that makes it into the database is "The dog said, ". H= ow do I get around this? What is the correct way to carry the form fields across multiple pages without this error happening? I know I could do something like replacing all the " " with nothing, but I'd like to keep t= he formatting of the person's original message. Can I do this? Please help= , thanks! Cody ----- Original Message ----- From: "Dan Haley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 10, 2000 3:10 PM Subject: RE: Comma/Number Problem > Wow, take back what I said in my last message . . . I could have sworn = the > last time this came up I tested it, and it worked . . . val("10,500") D= OES > NOT equal 10500. It must be because CF thinks 10,500 is a list, but > val("10,500") comes back as 10. > > Slap me silly on this one . . . go with the "cleanNumber" setup mention= ed by > Sean G. > > Dan > > -----Original Message----- > From: Don Vawter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 10, 2000 12:26 PM > To: [EMAIL PROTECTED] > Subject: Re: Comma/Number Problem > > > How about newstring=3Dreplace(oldstring,",","","ALL") > > ----- Original Message ----- > From: "S R" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 10, 2000 1:24 PM > Subject: Comma/Number Problem > > > > Hi, > > > > I am trying to add a bunch of numbers to get a total value. It works fine > > unless someone uses a comma to separate 'thousands': > > > > Ex. 10,500 > > > > How do I get rid of the comma before I add it up?? > > > > EX. 10500 > > > > Thanks > > > > Sal > > _____________________________________________________________________= ___ > > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.= com > > > > -----------------------------------------------------------------------= --- > ---- > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dlists/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=3Dlists&body=3Dlists/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=3Dlists&body=3Dlists/cf_ta= lk 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=3Dlists&body=3Dlists/cf_ta= lk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 16:19:09 +1200 From: "Matthew Walker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Message-ID: <[EMAIL PROTECTED]> > I would actually disagree with that. > > Someone in our office tried calling a custom tag that alters the generated > content with cfmodule, and it did not work correctly, even though > it worked when > called the standard way. He used </cfmodule> at the end too. What are you disagreeing with? I have it working fine. Using <cfmodule> is not a non-standard way. What was the error? * you can use <cfmodule template="..."> instead of <cf_...> * you can use <cfmodule template="..."></cfmodule> instead of <cf_...></cf_...> Are there any functional differences between using <cf_> and <cfmodule>? Apart from how you specify the location of the template, I'm not aware of any. That doesn't mean there aren't any, because there are a lot of things I'm not aware of. ------------------------------ Date: Thu, 10 Aug 2000 21:24:46 -0700 From: "Michael Sheldon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Preventing Browsers Cacheing a .cfm file Message-ID: <[EMAIL PROTECTED]> A bit hefty, but it's the technically correct method, and one of the few that will AOL's proxies will pay attention to: <CFSET gmt = gettimezoneinfo()> <CFSET gmt = gmt.utcHourOffset> <CFIF gmt EQ 0> <CFSET gmt = ""> <CFELSEIF gmt GT 0> <CFSET gmt = "+" & gmt > </CFIF> <CFHEADER NAME="Pragma" VALUE="no-cache"> <CFHEADER NAME="Cache-Control" VALUE="no-cache, must-revalidate"> <CFHEADER NAME="Last-Modified" VALUE="#dateformat(now(), 'ddd, dd mmm yyyy')# #timeformat(now(), 'HH:mm:ss')# GMT#gmt#"> <CFHEADER NAME="Expires" VALUE="Mon, 26 Jul 1997 05:00:00 GMT"> Michael J. Sheldon http://www.desertraven.com/ Make a fast friend, adopt a greyhound! -----Original Message----- From: AustralianAccommodation.com Pty. Ltd. [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 10, 2000 20:45 To: [EMAIL PROTECTED] Subject: Preventing Browsers Cacheing a .cfm file This is a multi-part message in MIME format. ------=_NextPart_000_00C4_01C0039A.5121F240 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is the a code that will successfully prevent a .cfm page from being = cached on a users browser that will work effectively across browsers Kind Regards Claude Raiola (Director) AustralianAccommodation.com Pty. Ltd. Website: www.AustralianAccommodation.com Email: [EMAIL PROTECTED] ------=_NextPart_000_00C4_01C0039A.5121F240 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2722.2800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Is the a code that will successfully = prevent a =20 .cfm page from being cached on a users browser that will work = effectively across=20 browsers</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Kind Regards</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Claude Raiola=20 (Director)<BR>AustralianAccommodation.com Pty. Ltd.<BR>Website: <A=20 href=3D"http://www.AustralianAccommodation.com">www.AustralianAccommodati= on.com</A><BR>Email:=20 <A=20 href=3D"mailto:[EMAIL PROTECTED]">Director@AustralianA= ccommodation.com</A></FONT></DIV></BODY></HTML> ------=_NextPart_000_00C4_01C0039A.5121F240-- ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 16:54:35 +1200 From: David Cummins <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Message-ID: <[EMAIL PROTECTED]> There was no error, it just did not work the same as when run without cfmodule. As in: <cfmodule template="getcontent.cfm"> ... </cfmodule> produced different output to <cf_getcontent> ... </cf_getcontent> In getcontent.cfm, it set thistag.generatedcontent="", which did not seem to work when calling with cfmodule. Perhaps cfmodule sends a complete copy of the environment to the tag, whereas the tag would normally receive a reference to the actual environment (and so could modify it). David Matthew Walker wrote: > > > I would actually disagree with that. > > > > Someone in our office tried calling a custom tag that alters the generated > > content with cfmodule, and it did not work correctly, even though > > it worked when > > called the standard way. He used </cfmodule> at the end too. > > What are you disagreeing with? I have it working fine. Using <cfmodule> is > not a non-standard way. What was the error? > > * you can use <cfmodule template="..."> instead of <cf_...> > * you can use <cfmodule template="..."></cfmodule> instead of > <cf_...></cf_...> > > Are there any functional differences between using <cf_> and <cfmodule>? > Apart from how you specify the location of the template, I'm not aware of > any. That doesn't mean there aren't any, because there are a lot of things > I'm not aware of. > > ------------------------------------------------------------------------------ > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a >message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 00:46:44 -0400 From: "Duane Boudreau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: OT eWebeditPro & CFML Message-ID: <[EMAIL PROTECTED]> > Duane, > > Here is the best way that I can find to accomplish this. > > Create the eWebEditPro variable in the editor, and in places > where the CFML > was going to go, insert a place marker, such as > %location1%, %location2%, etc.... Then when it comes time for CF > to display > the output after it is retrieved from the database, perform the required > replace functions on the place markers as in > <cfset output = replace(output,"%location1%","#phonenum#")>. After all of > the replace functions have been performed on all of the place markers, > simply display the value of the variable, and your dynamic data > is enclosed > within. > > There might be a better way, but no that I can think of at the > moment. This > way allows all of your formatting to stay in place and the place > markers are > already there for the data to go into. > > Let me know what you think. Great idea! I'll have tech support post it as a solution to this. Thanks Dan, Duane ------------------------------ Date: Fri, 11 Aug 2000 00:52:06 -0400 From: "Duane Boudreau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Subject: RE: VERY SAD (was <CFGRID onvalidate="???">) Message-ID: <[EMAIL PROTECTED]> > > We tried using the applets for a couple of internet > > applications and had very limited success. The applets > > would load sporadically on end user's machines. Netscape > > would rarely display the applets. IE was much better but > > sometimes pages would require refreshes to get the applets > > to load. We haven't tried the applets since early 4.01 so > > they may have been improved since. > > That's interesting. We've never used them for real internet applications, > but we used to use them quite a bit for intranet applications, > and were very > successful in that regard. For example, we deployed an application where > there were several thousand clients, all using Netscape 3 or 4, and no one > reported that as a problem. > > However, I'd agree that they're not suitable for non-controlled > environments, as people might not have Java enabled, or might not have > virtual machines, or might have a Java-killing firewall setup. It got to the point that our clients "requested" (AKA ordered) us to remove them from their sites. There customers were complaining quite a bit. We removed them and never looked back. In any instance now where we would consider using a CFGRID - usually in an admin section, we use <IFRAME> and warn users that IE is required. I am in the process of investigating ways of using flash instead of <IFRAME>. Duane ------------------------------ Date: Fri, 11 Aug 2000 00:56:45 -0400 From: "Duane Boudreau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: CF, ODBC and 64k data Message-ID: <[EMAIL PROTECTED]> > > Is there some imposed limit which would cause CF accessing an > > MSSQL7 db thru > > ODBC? I am trying to submit 64k + of data via a post but the data > > is getting > > truncated. Has anyone else ever seen this? Is there a work > around or fix? > > > > Duane, > > Something that came up in discusion on the UK CFUG Dev List that you might > be interested in.... > > We were dicussion ODBC vs OLE DSNs for Access databases. > Allaire recommends that you use OLE as the connection to databases for > robustness. However, thats not what I'm trying to say. It came > up that OLE > is actually the native database connection method for SQL7 and therefore > Access2000 (as it uses the SQL7 db engine). > > Whether using OLE instead of ODBC will solve your data size > problem or not I > don't (having never really used OLE), but it will help with robustness and > performance. I believe that the ODBC drivers for SQLServer7 are actually native drivers. Microsoft just put an ODBC interface on it. I think I heard this being discussed at CFUN-2K. Duane ------------------------------ Date: Fri, 11 Aug 2000 17:26:32 +1200 From: "Matthew Walker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: CustomTag /DIRECTORYat a SHARED HOSTING ISP ??? HELP!!! Message-ID: <[EMAIL PROTECTED]> > In getcontent.cfm, it set thistag.generatedcontent="", which did > not seem to > work when calling with cfmodule. That's weird. I just tried this: file1.cfm: <html><body> <cf_testa> <p>Comment this out using cf_</p> </cf_file2> <cfmodule template="file2.cfm"> <p>Comment this out using cfmodule</p> </cfmodule> </body></html> file2.cfm: <cfif ThisTag.ExecutionMode EQ "end"> <cfset ThisTag.GeneratedContent="<!--" & ThisTag.GeneratedContent & "-->"> </cfif> and it worked fine. Maybe in some circumstance it doesn't work? But in this simple case it does. ------------------------------ Date: Fri, 11 Aug 2000 01:37:55 -0400 From: "Michael Dinowitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: Certified? Message-ID: <020801c00356$4d5a2cc0$[EMAIL PROTECTED]> I took the beta and most of the people at my office took the 'normal' version. There's a list of who took it on the Allaire site: http://www.allaire.com/handlers/index.cfm?ID=16642 > Has anyone taken the Allaire CF Certification test yet? > > -John- > > > -------------------------------------------------------------------------- ---- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > ------------------------------ Date: Fri, 11 Aug 2000 15:15:22 +0930 From: "Parker, Kevin" <[EMAIL PROTECTED]> To: "CF Talk (E-mail)" <[EMAIL PROTECTED]> Subject: History list Message-ID: <[EMAIL PROTECTED]> This may actually be best achieved with a JavaScript solution so I apologise if some regard it as OT. We're deploying one of our large manuals to the web (which is currently distributed as a Win 3.1 help file - those were the days) as HTML. One of its features (the win help version) is that it has a history function and users can back track. I want to try an emulate this for the last 5 or so pages the user was on. I know you can do this by using a href and using history - 1, history -2 etc but rather than have a simple image or bit of static text with a link I want to actually try to produce a small list with the name of the page they were on, linked to that page (the link can use history -1 etc but I want to actually get the name of the page if I can). After all users won't remember what the page was 5 clicks ago but it will help them if they can see the name of the page. The history function in JavaScript doesn't appear to provide this info. Any clue please. ******************************** Kevin Parker Service and Communication WorkCover Corporation [EMAIL PROTECTED] ph: +61 8 82332548 fax: +61 8 82332000 ******************************** **************************************************************************** This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. **************************************************************************** ------------------------------ Date: Thu, 10 Aug 2000 02:13:01 -0500 From: "Jonathan Karlen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: History list Message-ID: <002501c0029a$6c8d69c0$[EMAIL PROTECTED]> What about setting cookies? Use five cookies named LocationX and on each page loop through them all and append the current page and remove the oldest. Then loop through the cookies and print the links. Jon ----- Original Message ----- From: Parker, Kevin <[EMAIL PROTECTED]> To: CF Talk (E-mail) <[EMAIL PROTECTED]> Sent: Friday, August 11, 2000 12:45 AM Subject: History list > This may actually be best achieved with a JavaScript solution so I apologise > if some regard it as OT. > > We're deploying one of our large manuals to the web (which is currently > distributed as a Win 3.1 help file - those were the days) as HTML. One of > its features (the win help version) is that it has a history function and > users can back track. I want to try an emulate this for the last 5 or so > pages the user was on. > > I know you can do this by using a href and using history - 1, history -2 etc > but rather than have a simple image or bit of static text with a link I want > to actually try to produce a small list with the name of the page they were > on, linked to that page (the link can use history -1 etc but I want to > actually get the name of the page if I can). After all users won't remember > what the page was 5 clicks ago but it will help them if they can see the > name of the page. The history function in JavaScript doesn't appear to > provide this info. > > Any clue please. > > > ******************************** > Kevin Parker > Service and Communication > WorkCover Corporation > > [EMAIL PROTECTED] > > ph: +61 8 82332548 > fax: +61 8 82332000 > ******************************** > > > > > **************************************************************************** > This e-mail is intended for the use of the addressee only. It may contain > information that is protected by legislated confidentiality and/or is > legally privileged. If you are not the intended recipient you are prohibited > from disseminating, distributing or copying this e-mail. Any opinion > expressed in this e-mail may not necessarily be that of the WorkCover > Corporation of South Australia. Although precautions have been taken, the > sender cannot warrant that this e-mail or any files transmitted with it are > free of viruses or any other defect. > If you have received this e-mail in error, please notify the sender > immediately by return e-mail and destroy the original e-mail and any copies. > **************************************************************************** > -------------------------------------------------------------------------- ---- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > ------------------------------ Date: Fri, 11 Aug 2000 07:19 +0100 (BST) From: [EMAIL PROTECTED] (Terry Riley) To: [EMAIL PROTECTED] Subject: RE: Latest WDDX_COM.DLL Message-ID: <[EMAIL PROTECTED]> In-Reply-To: <001401c00317$c18f77b0$[EMAIL PROTECTED]> Thanks, Dave Terry Riley Riley Varea Associates, London, UK ----------Original Message------------------ > > Can anyone enlighten me as to the latest version of the WDDX > > COM object? > > > > I can't find anything on the Allaire site that shows that > > anything has been 'issued' since the 4.0.1 upgrade. > > > > The one on my machine is version 1,0,0,1 dated 9 April 99. > > Have you checked http://www.wddx.org/? > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 ------------------------------ Date: Fri, 11 Aug 2000 16:00:19 +0930 From: "Parker, Kevin" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: History list Message-ID: <[EMAIL PROTECTED]> Thanks Jon - didn't consider cookies and haven't used them before. This also assumes that the end user has cookies enabled. ******************************** Kevin Parker Service and Communication WorkCover Corporation [EMAIL PROTECTED] ph: +61 8 82332548 fax: +61 8 82332000 ******************************** -----Original Message----- From: Jonathan Karlen [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 August 2000 4:43:PM To: [EMAIL PROTECTED] Subject: Re: History list What about setting cookies? Use five cookies named LocationX and on each page loop through them all and append the current page and remove the oldest. Then loop through the cookies and print the links. Jon ----- Original Message ----- From: Parker, Kevin <[EMAIL PROTECTED]> To: CF Talk (E-mail) <[EMAIL PROTECTED]> Sent: Friday, August 11, 2000 12:45 AM Subject: History list > This may actually be best achieved with a JavaScript solution so I apologise > if some regard it as OT. > > We're deploying one of our large manuals to the web (which is currently > distributed as a Win 3.1 help file - those were the days) as HTML. One of > its features (the win help version) is that it has a history function and > users can back track. I want to try an emulate this for the last 5 or so > pages the user was on. > > I know you can do this by using a href and using history - 1, history -2 etc > but rather than have a simple image or bit of static text with a link I want > to actually try to produce a small list with the name of the page they were > on, linked to that page (the link can use history -1 etc but I want to > actually get the name of the page if I can). After all users won't remember > what the page was 5 clicks ago but it will help them if they can see the > name of the page. The history function in JavaScript doesn't appear to > provide this info. > > Any clue please. > > > ******************************** > Kevin Parker > Service and Communication > WorkCover Corporation > > [EMAIL PROTECTED] > > ph: +61 8 82332548 > fax: +61 8 82332000 > ******************************** > > > > > **************************************************************************** > This e-mail is intended for the use of the addressee only. It may contain > information that is protected by legislated confidentiality and/or is > legally privileged. If you are not the intended recipient you are prohibited > from disseminating, distributing or copying this e-mail. Any opinion > expressed in this e-mail may not necessarily be that of the WorkCover > Corporation of South Australia. Although precautions have been taken, the > sender cannot warrant that this e-mail or any files transmitted with it are > free of viruses or any other defect. > If you have received this e-mail in error, please notify the sender > immediately by return e-mail and destroy the original e-mail and any copies. > **************************************************************************** > -------------------------------------------------------------------------- ---- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=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=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. **************************************************************************** This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. **************************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 00:13:27 -0700 From: Dan Haley <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Cc: "'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]> Subject: RE: Structs contained within the application scope? Message-ID: <[EMAIL PROTECTED]> Umm, what am I missing here? As I was about to type in the duplicate function, I thought "wait, we use structcopy with structures more than one level deep", so I did some testing and I can't recreate this problem (or expected behavior) in either 4.0.1 or 4.5. I was able to structcopy a structure multiple levels deep, and assign the application structure to a variable. The only problem I ran into is that doing a structcopy on the application variable was the same as a simple assignment - it was still just a pointer. Here is one of the tests I ran - (<cf_objectdump> is from the developer's exchange): <cfset application.one = structnew()> <cfset application.one.two = structnew()> <cfset application.one.two.three = structnew()> <cfset application.one.four = "four"> <cfset application.one.two.five = "five"> <cfset application.one.two.three.six = "six"> <cf_objectdump object="#application.one#"> <cfset test = application.one> <cf_objectdump object="#test#"> <cfset application.one.four = "fourteen"> <cf_objectdump object="#test#"> <cfset test2 = structcopy(application.one)> <cf_objectdump object="#test2#"> <cfset application.one.four = "twentyfour"> <cf_objectdump object="#test2#"> Am I missing something that will bite me in the rear in the future? Or just totally misunderstanding this e-mail. Thanks, Dan <snip> > I can get around this problem by manually copying the struct > like so (but it's a pain in the rear): > > <CFSET App.test = StructCopy(Application.test)> > > So my question is... Shouldn't the StructCopy() function copy the > entire struct, and any other structs stored inside it? Has anyone > else run into this experience, or is it considered expected behavior > when copying structs which contain other structs? This is expected behavior with StructCopy; it only copies "one level deep". If you want to make a complete duplicate, no matter how many nested data containers you have, use the Duplicate function introduced in CF 4.5.1, which makes a "deep copy". Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ------------------------------ Date: Fri, 11 Aug 2000 08:00:15 +0100 From: Rich Wild <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: (IIS) Customer file uploads - restrictions of file types Message-ID: <[EMAIL PROTECTED]> One security aspect you need to evaluate is discussed on Bugtraq @: http://www.ntbugtraq.com/default.asp?pid=36&sid=1&A2=ind9809&L=NTBUGTRAQ&P=R 2454 It deals with the default upload directory being c:\winnt -- Rich Wild Senior Web Designer ------------------------------------------------------- e-mango.com ltd Tel: 01202 587 400 Lansdowne Place Fax: 01202 587 401 17 Holdenhurst Road Bournemouth Mailto:[EMAIL PROTECTED] BH8 8EW, UK http://www.e-mango.com ------------------------------------------------------- This message may contain information which is legally privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of e-mango.com ltd, unless otherwise explicitly and independently indicated by an authorised representative of e-mango.com ltd. ------------------------------------------------------- -----Original Message----- From: Dan Haley [mailto:[EMAIL PROTECTED]] Sent: 10 August 2000 18:43 To: '[EMAIL PROTECTED]' Subject: (IIS) Customer file uploads - restrictions of file types We are getting requests from our customers to upload files to a password secured area of our site so they can share them with other users from their company, as well as with our internal people. The intent is for files like Excel, Word, and Powerpoint documents. Some of the restrictions we need to do are pretty straightforward, like who can upload, who can delete, total file size, etc., but what pitfalls do I need to watch out for from a server security standpoint? We are on IIS 4.0, Windows NT 4.0 SP5, CF4.5 ENT, with plans to go to Win2000. Is it as simple as restricting certain executable file types? All advice is truly appreciated . . . unless Dave Watts sends me more code from our site . . . whoops . . . :) Thanks, Dan ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 08:45:02 +0100 From: Stewart McGowan <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: VERY SAD (was <CFGRID onvalidate="???">) Message-ID: <71CD353D10D3D3119E4B00508BA0F171108BCE@EXCHANGE1> As Dave said, in a controlled environment they work fine, with our B2B apps the major concern is ease of use and the grids add some good functionality with very little overhead....if you know who's gonna use em then use em :) Stew >It got to the point that our clients "requested" (AKA ordered) us to remove >them from their sites. There customers were complaining quite a bit. We >removed them and never looked back. In any instance now where we would >consider using a CFGRID - usually in an admin section, we use <IFRAME> and >warn users that IE is required. >I am in the process of investigating ways of using flash instead of ><IFRAME>. >Duane ------------------------------ Date: Fri, 11 Aug 2000 01:13:05 -0700 From: "Mooner Ent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [OT] REQ testimonials from SAG Electronics customers. Message-ID: <000701c0036b$fa7094c0$7b1610cf@desktop> Hello, We're thinking about spending $$ with http://www.sagelectronics.com/. 2U rack servers. Testimonials are encouraged, off list if you prefer. Thanks, Rick [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com ------------------------------ Date: Fri, 11 Aug 2000 08:59:22 +0100 From: Rif Kiamil <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: server printing Message-ID: <054D14FE68D6D31188300090274EBEDD0AC7@MRDATA> No, not unless you want to write a COM or you can us can COM from MS Access and you can tell that to print any thing from Access. But it you can only use the default printer setup on that system I am writing a Com object in Delphi that will let me print any Access Report from the ColdFusion to any printer on the network. It will also let me send information to Access to fill the report with the data. E.g. You could design a Report in Access with no data in it and then the ColdFusion would send the info to the COM which get the report from access fill the data in the right places in the forum and send it to any print on that computer you want. >From Rif -----Original Message----- From: Jason Egan [mailto:[EMAIL PROTECTED]] Sent: 10 August 2000 18:23 To: Cf-Talk Subject: server printing Is there a way with cf (or maybe js) to print from a web app to a printer attached to the cf server or the network it is on? Say, I want to print a document from out of town to the printer on the network for someone to look at or whatever... thanks, je ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 01:35:22 -0700 From: "Sean Renet" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: Is there a variable for a query's name? Message-ID: <007101c0036f$175b0c70$[EMAIL PROTECTED]> umm that was part of the joke. I wish I could take credit for it, but I believe is Daniel Maguire's ----- Original Message ----- From: "David Shadovitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 10, 2000 6:37 PM Subject: Re: Is there a variable for a query's name? > > I must be the most unarticulate person on these lists. > > Yes. It's "inarticulate." > -David-who-did-better-on-the-English-part-of-the-SAT-than-on-the-math-par > t-but-who-works-as-a-programmer-anyway > ________________________________________________________________ > YOU'RE PAYING TOO MUCH FOR THE INTERNET! > Juno now offers FREE Internet Access! > Try it today - there's no risk! For your FREE software, visit: > http://dl.www.juno.com/get/tagj. > -------------------------------------------------------------------------- ---- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > ------------------------------ Date: Fri, 11 Aug 2000 10:06:43 +0100 From: "Reynolds, Adam" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Message-ID: <C5220A958458D2118DB500A0C9DCE94401885B75@PEXCSER3> Sorry.... Adam Reynolds > ---------- > From: Chapman, Katrina[SMTP:[EMAIL PROTECTED]] > Sent: 10 August 2000 18:00 > To: [EMAIL PROTECTED] > Subject: RE: > > Let's not get pissy Adam. > > Sree, > > It should work. > > IT should be exaclty like this > > <CFHTTP URL="http://www.amazon.com" > METHOD="GET" > RESOLVEURL=YES> > </CFHTTP> > <CFOUTPUT> > <P>Your file was of type: #CFHTTP.MimeType# > <P>#HTMLCodeFormat(CFHTTP.FileContent)# > </CFOUTPUT> > > > I ran it and it returned everything just fine. > > What is happening on your end. > > --K > > -----Original Message----- > From: Reynolds, Adam [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 10, 2000 6:19 AM > To: '[EMAIL PROTECTED]' > Subject: RE: > > > Love the lack of subject line...makes it sooooo easy to see what your > problem is. > Adam Reynolds > > > ---------- > > From: Sree@bigbuzz[SMTP:[EMAIL PROTECTED]] > > Sent: 10 August 2000 15:22 > > To: [EMAIL PROTECTED] > > > > This is a multi-part message in MIME format. > > > > ------=_NextPart_000_0020_01C002AC.712ABA70 > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > Any wrong with this? > > > > <cfhttp url=3D"http://www.amazon.com" method=3D"get"> > > > > Thanks=20 > > Sree > > > > ------=_NextPart_000_0020_01C002AC.712ABA70 > > Content-Type: text/html; > > charset="iso-8859-1" > > Content-Transfer-Encoding: quoted-printable > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> > > <META content=3D"text/html; charset=3Diso-8859-1" = > > http-equiv=3DContent-Type> > > <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> > > <STYLE></STYLE> > > </HEAD> > > <BODY bgColor=3D#ffffff> > > <DIV><FONT face=3DArial size=3D2>Any wrong with this?</FONT></DIV> > > <DIV> </DIV> > > <DIV><FONT face=3DArial size=3D2><cfhttp = > > url=3D"http://www.amazon.com"=20 > > method=3D"get"></FONT></DIV> > > <DIV> </DIV> > > <DIV><FONT face=3DArial size=3D2>Thanks </FONT></DIV> > > <DIV><FONT face=3DArial size=3D2>Sree</FONT></DIV></BODY></HTML> > > > > ------=_NextPart_000_0020_01C002AC.712ABA70-- > > > > > -------------------------------------------------------------------------- > > ---- > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > To Unsubscribe visit > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or > > send a message to [EMAIL PROTECTED] with 'unsubscribe' > in > > the body. > > > ********************************************************************** > This email and any attachments are confidential and solely > for the use of the intended recipient. They may contain > material protected by legal professional or other privilege. > If you are not the intended recipient or the person responsible > for delivering to the intended recipient, you are not authorised > to and must not disclose, copy, distribute or retain this email > or its attachments. Although this email and its attachments > are believed to be free of any virus or other defect, it is the > responsibility of the recipient to ensure that they are virus free > and no responsibility is accepted by the company for any > loss or damage arising from receipt or use thereof. > > ********************************************************************** > -------------------------------------------------------------------------- > -- > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=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=lists&body=lists/cf_talk or > send a message to [EMAIL PROTECTED] with 'unsubscribe' in > the body. > ********************************************************************** This email and any attachments are confidential and solely for the use of the intended recipient. They may contain material protected by legal professional or other privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this email or its attachments. Although this email and its attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by the company for any loss or damage arising from receipt or use thereof. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 09:42:49 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Array Confusion Message-ID: <[EMAIL PROTECTED]> > How do I populate a one dimensional array from a query?? I'm > having trouble > figuring out how I make the 'Array number' dynamic: > > <cfquery datasource="Tester" name="GetNumbers"> > SELECT Quantity, ID FROM TestTable > </cfquery> > > <cfoutput query="GetNumbers"> > > <cfset QuantityTotal = ArrayNew(1)> > > <cfset QuantityTotal[??]] = #Quantity#> > > </cfoutput> Or as an alternative approach to Derek's (which will put the top value into all entries of the array) <cfset QuantityTotal=ArrayNew(1)> <cfloop query="GetNumbers"> <cfset QuantityTotal[CurrentRow]=Quantity> </cfloop> Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 09:52:52 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: IE Browser Cache-Help Message-ID: <[EMAIL PROTECTED]> > I have a page in my application which I do not wish to cache. I > have put the > META tag to prevent caching as follows: > <META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT"> > <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> > <META HTTP-EQUIV="Pragma:no-cache"> > <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> > > Also i tried CFHTTP header: > <CFHEADER NAME="Expires" VALUE="#Now()#"> > > but IE still is able to cache pages. Netscape responds well. > Any clues. I wish to programatically control this. I have no > control over the Server Configurations. AFAIK, IE4/5 have this lovely ability to over-ride the page settings for expiry. With IE5, when the setting is "Automatic" it takes note of the setting, but that's the only one that seems to - if the user sets it's on "Never" then you won't be able to touch it. It's a real PITA, but that's Micro$oft for you... Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 09:32:46 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Can CF be run on a machine which is also running Service Pack 6 Alpha? Message-ID: <[EMAIL PROTECTED]> > The problem is that there is a tag or two that don't work on SP 6. I can't > remember which one(s), but you may be able to find it on the Allaire site. > That's where I first read about the problem. CFContent apparently has problems, and Allaire recommend going back to SP5 if you use it - I use SP6a quite happily as I (currently) don't use CFContent at all Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 10:02:56 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Problem carrying over form values. Message-ID: <[EMAIL PROTECTED]> > You can try replacing the " with some string you know the person will not > enter, like º, or some other character entity. Then you can get that data > from the hidden form field and convert it back before entering it into the > database. There's a neater solution that this one - rather than having to re-convert it back later... <input type="hidden" name="comments" value="#Replace(form.Comments,"""",""","All")#"> You can use this for all form types, and the HTML is converted when the form passes it along Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 09:42:50 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: "Need your help desperately..." Message-ID: <[EMAIL PROTECTED]> > I would agree with this, for the simple fact I hold no degrees in > anything. > But I am a very quick learner, and work hard to achieve what I set out to > do. I have 20 years programming experience, and have dabbled in a lot of > languages. I have a very impressive resume, and the ability to sell my > skills. > > I did think the CF certificate would make it easier to say you > know CF, but > what about programming logic this is a lot harder to learn and comes from > experience. I see the Allaire Certificate for CF a waste of my time, only > because I believe in my ability to do the work and think that my > work in the > industry will be enough to keep working in it. I have to totally agree with this assessment - I never went to Uni, hold no degrees or real qualifications in programming, but I've been a programmer/developer for the last 10-12 years (in a variety of languages) I cheated on finding a job though, I own a third of my company <g> I'm actually taking the CF Certification in November (at the Conference) just so that clients are more at ease with the development work - I prove that I can do the work by the sites I've developed, not by a piece of paper Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 10:13:01 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: Optimization tips collection Message-ID: <[EMAIL PROTECTED]> > There is a lot of conflicting information on how to properly set up an > Access datasource. For me anyway, I've found that Access sites > are much more > stable when the database connection is NOT persistent, and the > max number of connections is set to around 5. I found sites much more stable by not using Access <g> Remember that Access has the horrid maximum 50 concurrent connections - that counts for multiple uses on the same template, and over any databases as it's the MSJet driver that has the limit, not the database Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 10:02:57 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: in one query refers to 2 different odbc sources Message-ID: <[EMAIL PROTECTED]> > I have 2 databases located on the 2 different NT servers, Is > there any way i > can write one query that refers to different odbc sources, if > yes, how and the syntax, If they are the same database type, then there is usually a way... in SQL Server it's quite easy; <cfquery name="myQuery" datasource="myDSN"> select t1.column1, t2.column2 from table1 as t1, serverName.databaseName.dbo.table2 as t2 ... </cfquery> using Access you can refer to the database by a it's exact location, but I can't remember the code as I haven't worked in Access for over a year now If they are differing database types, as in Access and SQL Server, then no, you can't Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 19:20:23 +1000 From: "Andrew Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: "Need your help desperately..." Message-ID: <[EMAIL PROTECTED]> The latter sounds good, but no it was a typo and hase been rectified I don't look good in a dress anyway:-) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 11 August 2000 11:35 AM To: [EMAIL PROTECTED] Subject: RE: "Need your help desperately..." "Scott, Andrew" <[EMAIL PROTECTED]>wrote: >Andrea Scott >ANZ eCommerce Centre >* Ph 9273 0693 >* [EMAIL PROTECTED] So which is it? Andrew or Andrea? Or are there multiple personalities all fighting each other? :-) -------- Rob Keniger ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. ------------------------------ Date: Fri, 11 Aug 2000 10:19:18 +0100 From: "Philip Arnold - ASP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: History list Message-ID: <[EMAIL PROTECTED]> > This may actually be best achieved with a JavaScript solution so > I apologise > if some regard it as OT. > > We're deploying one of our large manuals to the web (which is currently > distributed as a Win 3.1 help file - those were the days) as HTML. One of > its features (the win help version) is that it has a history function and > users can back track. I want to try an emulate this for the last 5 or so > pages the user was on. > > I know you can do this by using a href and using history - 1, > history -2 etc > but rather than have a simple image or bit of static text with a > link I want > to actually try to produce a small list with the name of the page > they were > on, linked to that page (the link can use history -1 etc but I want to > actually get the name of the page if I can). After all users > won't remember > what the page was 5 clicks ago but it will help them if they can see the > name of the page. The history function in JavaScript doesn't appear to > provide this info. Seeing as the history object in JavaScript is an array, you can refer to any of the entries in it - BUT, it calls them all by URL, it's only the browser that calls them by title The only way I can think of getting the titles is to run an (ugly) loop that briefly opens another window for that URL, grabs the title, then closes that window - this would mean loads of windows flicking into existance, then closing immediately. This would work, but it wouldn't be quick if the server connection was slow, oh, and did I mention it would be ugly? Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ------------------------------ Date: Fri, 11 Aug 2000 10:42:23 +0100 From: "JustinMacCarthy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: History list Message-ID: <049901c00378$73d01730$7a01a8c0@WIN2000> I would suggest using an array and the ArrayDeleteAt(array, position) ArrayAppend(array, value) so if you have a var session.history as you add a values use ArrayAppend(session.history, value) and if the array is over 5 entries use ArrayDeleteAt(session.history,1) Justin MacCarthy ----- Original Message ----- From: "Parker, Kevin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 11, 2000 7:30 AM Subject: RE: History list > Thanks Jon - didn't consider cookies and haven't used them before. This also > assumes that the end user has cookies enabled. > > > ******************************** > Kevin Parker > Service and Communication > WorkCover Corporation > > [EMAIL PROTECTED] > > ph: +61 8 82332548 > fax: +61 8 82332000 > ******************************** > > > -----Original Message----- > From: Jonathan Karlen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 10 August 2000 4:43:PM > To: [EMAIL PROTECTED] > Subject: Re: History list > > > What about setting cookies? Use five cookies named LocationX and on each > page loop through them all and append the current page and remove the > oldest. Then loop through the cookies and print the links. > > Jon > > ----- Original Message ----- > From: Parker, Kevin <[EMAIL PROTECTED]> > To: CF Talk (E-mail) <[EMAIL PROTECTED]> > Sent: Friday, August 11, 2000 12:45 AM > Subject: History list > > > > This may actually be best achieved with a JavaScript solution so I > apologise > > if some regard it as OT. > > > > We're deploying one of our large manuals to the web (which is currently > > distributed as a Win 3.1 help file - those were the days) as HTML. One of > > its features (the win help version) is that it has a history function and > > users can back track. I want to try an emulate this for the last 5 or so > > pages the user was on. > > > > I know you can do this by using a href and using history - 1, history -2 > etc > > but rather than have a simple image or bit of static text with a link I > want > > to actually try to produce a small list with the name of the page they > were > > on, linked to that page (the link can use history -1 etc but I want to > > actually get the name of the page if I can). After all users won't > remember > > what the page was 5 clicks ago but it will help them if they can see the > > name of the page. The history function in JavaScript doesn't appear to > > provide this info. > > > > Any clue please. > > > > > > ******************************** > > Kevin Parker > > Service and Communication > > WorkCover Corporation > > > > [EMAIL PROTECTED] > > > > ph: +61 8 82332548 > > fax: +61 8 82332000 > > ******************************** > > > > > > > > > > > **************************************************************************** > > This e-mail is intended for the use of the addressee only. It may contain > > information that is protected by legislated confidentiality and/or is > > legally privileged. If you are not the intended recipient you are > prohibited > > from disseminating, distributing or copying this e-mail. Any opinion > > expressed in this e-mail may not necessarily be that of the WorkCover > > Corporation of South Australia. Although precautions have been taken, the > > sender cannot warrant that this e-mail or any files transmitted with it > are > > free of viruses or any other defect. > > If you have received this e-mail in error, please notify the sender > > immediately by return e-mail and destroy the original e-mail and any > copies. > > > **************************************************************************** > > -------------------------------------------------------------------------- > ---- > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=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=lists&body=lists/cf_talk or > send a message to [EMAIL PROTECTED] with 'unsubscribe' in > the body. > > > > **************************************************************************** > This e-mail is intended for the use of the addressee only. It may contain > information that is protected by legislated confidentiality and/or is > legally privileged. If you are not the intended recipient you are prohibited > from disseminating, distributing or copying this e-mail. Any opinion > expressed in this e-mail may not necessarily be that of the WorkCover > Corporation of South Australia. Although precautions have been taken, the > sender cannot warrant that this e-mail or any files transmitted with it are > free of viruses or any other defect. > If you have received this e-mail in error, please notify the sender > immediately by return e-mail and destroy the original e-mail and any copies. > **************************************************************************** > -------------------------------------------------------------------------- ---- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > > ------------------------------ Date: Fri, 11 Aug 2000 11:10:49 +0100 From: "Paul Johnston" <[EMAIL PROTECTED]> To: "Cf-Talk" <[EMAIL PROTECTED]> Subject: OT: file upload problems with IIS Message-ID: <[EMAIL PROTECTED]> I am having trouble trying to do HTTP file uploads with IIS 4. I have heard there is some sort of update to put on to make it RFC 1867 (or whatever it is) compatible but cannot find it. Any help appreciated. Paul ------------------------------ End of CF-Talk V1 #134 ********************** ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=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?sidebarRsts&bodyRsts/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.