Re: SOLVED: Re: grabbing remote images

2006-08-23 Thread Dave Lyons
u fish bryan? im heading up to the skagit in probably october if ya wanna come rip some lips Thanks Ben and Jimthat solves it. Guess it has truly been a long time since I used CFHTTP ;-) much appreciated! Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric

Re: CFIdea: how to implement

2006-08-23 Thread Wayne Putterill
Thats one of those snippets of code which although I have no need for it at the moment I just have to keep - at some point in the future I just know it's going to save me a couple of days headscratching. Thanks! On 8/22/06, Ben Nadel [EMAIL PROTECTED] wrote: I say go really really simple. At

Re: coldfusion sql injection

2006-08-23 Thread Jochem van Dieten
Russ wrote: That's the thing... When is cfqueryparam REALLY necessary for security? I want to see some examples that require cfqueryparam. Always. For the simple reason that you are not able to prove that any other solution is secure. Jochem

Re: coldfusion sql injection

2006-08-23 Thread Robertson-Ravo, Neil (RX)
Indeed, Always use it unless it is being catered for in other ways such as via an SP. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information

Re: coldfusion sql injection

2006-08-23 Thread Jochem van Dieten
Rick Root wrote: Snake wrote: Select * from table Where x = #form.value# And form.value = (delete from table) cftry cfparam name=form.value type=numeric cfcatch type=anycfthrow .../cfcatch /cftry /cftry or cfif not isNumeric(form.value) Cfthrow ... /cfif And that catches

coldfusion 7.0.2 and flex

2006-08-23 Thread wolf2k5
Hi all, I've upgraded a ColdFusion 7.0.1 server installation on Linux to 7.0.2. Does it support Flex already or do I have to install anything else? How can I quickly verify that a Flex application works on it? Is there any basic sample app that I can test? Thanks.

Re: coldfusion 7.0.2 and flex

2006-08-23 Thread James Holmes
A Flex 2.0 app is independent of the server, unless you are talking about Flex Data Services. If you want your Flex 2.0 app to talk to the server, you can use RSS, SOAP, flash remoting and whatever else you can think of that's built in to CF, or you can purchase FDS. For examples you should be

Re: coldfusion 7.0.2 and flex

2006-08-23 Thread Tom Chiverton
On Wednesday 23 August 2006 09:31, wolf2k5 wrote: Does it support Flex already or do I have to install anything else? Nope, thats it. How can I quickly verify that a Flex application works on it? Is there any basic sample app that I can test?

RE: FusionZone - PITA

2006-08-23 Thread Jenny Gavin-Wear
Got a link handy,please? lol -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: 22 August 2006 09:46 To: CF-Talk Subject: Re: FusionZone - PITA Told you Barbecue was the way to go... :-) On 8/22/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: Hi Neil, Point taken,

Xmlformat, encoding and cfxml hell

2006-08-23 Thread Jack Dalaa
I'm trying to do an export of clients to an XML file, and have tremendous difficulty getting CF MX 6.1 to escape characters properly. This code: cfsetting enablecfoutputonly=yes cfcontent type=text/xml; charset=utf-8 cfoutput?xml version=1.0 encoding=UTF-8? test

Re: FusionZone - PITA

2006-08-23 Thread James Holmes
Sure: http://barbecue.sourceforge.net/ I have a Java wrapper for the class, which I can provide if you can't run this as a servlet directly (i.e. if you don't have CF Enterprise or some servlet container). On 8/23/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: Got a link handy,please? lol

Still having problems!!

2006-08-23 Thread Doug Brown
I am still having problems with the display of this darn menu for my site. When there is no more data to fill the menu with categories, after people drill down, the menu simply dissapears. I have tried the below code, but it only reloads the last menu item the user clicked and therefore only

creating a list from copy and pasted text from notepad...

2006-08-23 Thread D F
Hi there, I'm trying to create a list ( with the delimiter set for space )... but it seems that when the text I'm working with ( cut and pasted from notepad ) it seems Coldfusion is not recognizing the spaces as legitimate spaces... probably some kind of control characters or line brakes

Storing lots of files

2006-08-23 Thread E C list
Hello, I was looking for some advice on the best way to deal with thousands of files (PDFs or TIF files of contracts and paper relating to the contracts) using ColdFusion 5.0. Here is the scenario: We are purchasing a sharp copy machine that is networkable. One of the best features of this

page breaks for printing

2006-08-23 Thread Tim Laureska
I have a page that returns a couple hundred records that I want to print . some of the records' info crosses over onto the next page. how can I create clean page breaks for printing so that no one record spans two pages Thanks in advance Tim

RE: Storing lots of files

2006-08-23 Thread Peterson, Chris
I have a document imaging system I wrote with CF, with all Tiff formatted images. I stored all documents in a folder structure like this: \company\cabinet\\MM\DD\filename.tif This makes a nice directory structure that you can backup date periods or archive a month or year very easily, and

Re: Storing lots of files

2006-08-23 Thread James Holmes
Which DB are you using? On 8/23/06, E C list [EMAIL PROTECTED] wrote: Hello, I was looking for some advice on the best way to deal with thousands of files (PDFs or TIF files of contracts and paper relating to the contracts) using ColdFusion 5.0. Here is the scenario: We are purchasing a

RE: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Adrian Lynch
Check they are actually spaces. Forget about /n or /r, and I think these should be \n but not in CF... Ade -Original Message- From: D F [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 13:14 To: CF-Talk Subject: creating a list from copy and pasted text from notepad... Hi there, I'm

Re: page breaks for printing

2006-08-23 Thread Doug Brown
You could try doing it in the css of the page. IE: STYLE H1 { page-break-before: always } /STYLE ... H1 CLASS=chapternbsp; Hope this helps. - Original Message - From: Tim Laureska [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 23,

Re: Planning and Sizing a Coldfusion Environment

2006-08-23 Thread Tom Chiverton
On Tuesday 22 August 2006 19:05, Snake wrote: Load testing your apps would be a good start. Indeed. If you know your current XGhz/YGig box can support Z users with responses times under 5 seconds, it's a fair bit a 2X/2Y box will support 2Z. Splitting DB and App instances onto two boxes is

Re: OT: UPS Recommentation

2006-08-23 Thread Tom Chiverton
On Tuesday 22 August 2006 18:08, Qasim Rasheed wrote: farily priced UPS for a Dell PowerEdge 4600. Or may be point to some resources that I can look about UPS in general. UPS is one of the areas where I wouldn't make price an issue. If you're that worried about shutting down cleanly, you can

query application structure onSessionEnd

2006-08-23 Thread Brian Burkett
In the onSessionEnd function in application.cfc, I want to read the SessionTimeout value from the application structure. I've tried this: cfargument name=ApplicationScope required=true and then review the cfdump of that structure, but I don't see sessiontimeout. Any thoughts?

Re: query application structure onSessionEnd

2006-08-23 Thread Raymond Camden
The sessiontimeout value doesn't exist in the application structure. If you set the value in the This scope, try getting it like that. That should work. On 8/23/06, Brian Burkett [EMAIL PROTECTED] wrote: In the onSessionEnd function in application.cfc, I want to read the SessionTimeout value

RE: duplicate records inserted

2006-08-23 Thread Adkins, Randy
One way is to disable the submit button once it is pressed. There is a JS function for it. Try googling for it -Original Message- From: Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 9:49 AM To: CF-Talk Subject: duplicate records inserted Hi. I have a form where on

Re: duplicate records inserted

2006-08-23 Thread Mark Drew
Well. you dont need cftransaction, just do a onSubmit event for the form that disables the submit button, that should help it out MD On 8/23/06, Ken [EMAIL PROTECTED] wrote: Hi. I have a form where on submit multiple lines of data are inserted into the database. However, as the page is still

RE: duplicate records inserted

2006-08-23 Thread Snake
You can disable the submit button via javascript, or have a gateway page inbetween the form and the action page so that they cannot submit more than once. Snake -Original Message- From: Ken [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 14:49 To: CF-Talk Subject: duplicate records

Re: duplicate records inserted

2006-08-23 Thread Jake Churchill
The client could disable JS and still get around it Adkins, Randy wrote: One way is to disable the submit button once it is pressed. There is a JS function for it. Try googling for it -Original Message- From: Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 9:49 AM

RE: page breaks for printing

2006-08-23 Thread Sandra Clark
Set up a stylesheet for printing (media=print), then you can take advantage of the printing mechanisms in CSS. Orphans, page, page-break=after, page-break-before, size and widows would be the main one. You can also set up the print style sheet using inches (since the page size is known). Set

Re: Identifying and Event Gateway Call In Code

2006-08-23 Thread Mike Chabot
Thank you. I added AND cgi.server_port GT 0 to my conditional. This seems like a decent solution. -Mike Chabot On 8/22/06, Rick Root [EMAIL PROTECTED] wrote: I came across this the other day. CGI.SERVER_PORT = -1 (or SERVERPORT, can't remember which). That's what I used. Rick Mike

Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread D F
Yah you're right it should be \n etc.. I tried both, no luck. I also tried search for the spaces, but no luck there either. Check they are actually spaces. Forget about /n or /r, and I think these should be \n but not in CF... Ade

Re: query application structure onSessionEnd

2006-08-23 Thread Brian Burkett
Thanks Ray, that works perfectly. The sessiontimeout value doesn't exist in the application structure. If you set the value in the This scope, try getting it like that. That should work. On 8/23/06, Brian Burkett [EMAIL PROTECTED] wrote: In the onSessionEnd function in application.cfc,

Re: Weird Error when viewing datasources in CFAdmin 7.02

2006-08-23 Thread Randy Johnson
Sorry I forgot to put my name. My Name is Randy. Thank you for your help. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your

Re: Storing lots of files

2006-08-23 Thread Alan Rother
One possible solution would be to create folders based on the client ID, then store only that client's documents in that folder. As an added layer of security, rename all the docs as they come in with some sort of UUID, that way you won't have to deal with the problem of overwriting files. In the

Re: coldfusion sql injection

2006-08-23 Thread Jeff Guillaume
Let alone the security aspect, it also improves performance by causing your database server to bind the variables before executing the query. Straight from Macromedia: http://tinyurl.com/oo49m (link to docs) - Allows the use of SQL bind parameters, which improves performance. - Ensures that

RE: duplicate records inserted

2006-08-23 Thread Daniel Baughman
Honestly who disables javascript? I think catching the majority of people who don't disable would be good enough. And what you do is simply put an onclick attribute on the submit button that says onclick=this.disabled=true or onclick=this.style.display: none Daniel Baughman -Original

Re: FusionZone - PITA

2006-08-23 Thread Larry Lyons
Sure: http://barbecue.sourceforge.net/ I have a Java wrapper for the class, which I can provide if you can't run this as a servlet directly (i.e. if you don't have CF Enterprise or some servlet container). On 8/23/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: -- CFAJAX docs and other useful

RE: coldfusion sql injection

2006-08-23 Thread Russ
The string is also autoescaped even if you don't use cfqueryparam... at least on SQL server. Is it not with other DB systems? -Original Message- From: Jeff Guillaume [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 10:19 AM To: CF-Talk Subject: Re: coldfusion sql

Re: coldfusion sql injection

2006-08-23 Thread Claude Schneegans
The string is also autoescaped even if you don't use cfqueryparam... at least on SQL server. Is it not with other DB systems? Autoescape is done by CF, so it works for any DB. -- ___ REUSE CODE! Use custom tags; See

Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Claude Schneegans
For example I'm trying to import a cut and pasted list from notepad that looks like this.. In your example, you have no spaces but new line chars, so you should replace all these by true spaces first, ie: myList = REReplace (myList, [[:space:]]+, , all) Then you'll have a space delimited

Re: OT: Anyone else affected by the hostmysite outage?

2006-08-23 Thread Tom Chiverton
On Wednesday 16 August 2006 15:20, Neil Middleton wrote: One of their datacenters has been chopped from the net buy a construction accident. http://bradleynoe.com/2004/05/30/gigflapping :-) -- Tom Chiverton Helping to quickly supply unique channels

RE: Parsing an XML Feed

2006-08-23 Thread Ian Vaughan
Hi Rob How about these feeds, do you get these to work for you ? http://www.vnunet.com/feeds/rss/latest/all/analysis http://www.vnunet.com/feeds/rss/computing I am getting the error An error occured while Parsing an XML document. Content is not allowed in prolog. -Original

Problem with URL display in browser

2006-08-23 Thread Lee Bailey
I'm using a search engine friendly URL system, which works along the following lines; One of the columns in my table is called 'shortheader', which basically takes the article headline, and makes it url friendly. Therefore, 'This is a Test' becomes 'this_is_a_test' as the shortheader. This

Re: creating a list from copy and pasted text from notepad...

2006-08-23 Thread Jim Wright
D F wrote: Yah you're right it should be \n etc.. I tried both, no luck. I also tried search for the spaces, but no luck there either. Try outputting the ascii of your var to see what it contains cfloop index=i from=1 to=#len(myvar)# cfoutput#i# - #asc(mid(myvar, i, 1)#BR/cfoutput

Re: FusionZone - PITA

2006-08-23 Thread James Holmes
Alrighty, I'll put together a blog post with a link to the java class, with some instructions. In general, the requirements for Barbecue are: 1) A server with graphics configured properly. This is the same situation you often see with image components etc; if your machine has a graphics card, no

RE: OT: Anyone else affected by the hostmysite outage?

2006-08-23 Thread Rick Faircloth
An interesting way to see the convergence of two areas of life that are usually far apart...art and technology... Wonder what the tune is? Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 11:18 AM To: CF-Talk Subject: Re: OT: Anyone

RE: Handle lists with delimiters in the data.

2006-08-23 Thread Ian Skinner
Ian, upon your building your parsed list, can't you just specify an obscure delimiter like a pipe | character? I've always done it this way and been quite effective on comma formatted numbers like you have. I don't build the parsed list; I am reading it from a CSV file. In this particular

Async drive read

2006-08-23 Thread Michael Dinowitz
I've written some code to read a DVD's root folder for content. If it's a file, record it in the DB. If it's a directory, throw it to an async process to repeat. The theory is solid but the question is, will doing an async read on a DVD drive where there may be dozens and even hundreds of async

cfexecute problem...

2006-08-23 Thread Gabriel Bulfon
Hi, i am trying to generate dos command to export a oracle database...the commnad was fine, but i have a problem with a process. When execute the cfexecute all works fine but i can delete de files. If I see the task manager I see a System Iddle Process hang. I appreciate any help. -gabriel

Re: Handle lists with delimiters in the data.

2006-08-23 Thread Claude Schneegans
I am reading it from a CSV file. In this particular case Excel created the file. Can't you set up a DSN with the ODBC text driver? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to

CFQUERY of non-swequential primary key ids

2006-08-23 Thread coldfusion . developer
All, I'm doing a query and randomly displaying images from within each record but records have been removed so I don't have sequential id values. PROBLEM: When I run this code sometime I get images, sometimes I get nothing. Should I be running a different random'izer? 8-) Any ideas? CODE:

Re: Parsing an XML Feed

2006-08-23 Thread Rob Wilkerson
Yep. Both work just fine for me. One other thing to look for...if you're using a DevNet version of ColdFusion then it may be inserting an errant meta tag that causes all kinds of havoc when dealing with XML. On 8/23/06, Ian Vaughan [EMAIL PROTECTED] wrote: Hi Rob How about these feeds, do

RE: Async drive read

2006-08-23 Thread Paul Vernon
The theory is solid but the question is, will doing an async read on a DVD drive where there may be dozens and even hundreds of async directory reads going on be detrimental to the drive or any hardware? How is the theory solid? You will be sending multiple read requests to a device with

Re: Problem with URL display in browser

2006-08-23 Thread Lee Bailey
I'm using a search engine friendly URL system, which works along the following lines; One of the columns in my table is called 'shortheader', which basically takes the article headline, and makes it url friendly. Therefore, 'This is a Test' becomes 'this_is_a_test' as the shortheader.

RE: CFQUERY of non-swequential primary key ids

2006-08-23 Thread Ben Nadel
I am not sure why you are doing the second query... Why make the *randomization* more complicated than it has to be??? Simplify: !--- GET 2ND VALUE TO BE PASSED TO RANDRANGE --- CFQUERY name=get_vids_a datasource=#datasource# maxrows=1 select vidwee_id from vidweek /CFQUERY

RE: Handle lists with delimiters in the data.

2006-08-23 Thread Rizal Firmansyah
Ian, you can try my CSV2Query custom tag: http://www.masrizal.com/index.cfm?fuseaction=idea.download_detailProductID=cf_csv2query Try our live example, copy paste your CSV and see the result... It can handle great deals of CSV problems like text qualifier inside qualifier, or delimiter inside

BLOG Application question

2006-08-23 Thread Irvin Gomez
Hi, everyone! I'm developing a small blog application for a client. Trying to minimize spam whithout using a CAPTCHA (to keep matters simple), I came up with this idea (similar to Cragilist's post verification): Require email verification the first time only. It would work like this: 1.

Re: Problem with URL display in browser

2006-08-23 Thread Jeff Guillaume
I'm afraid that's just how it's going to look down there on the address bar (unless the file is actually being written like that?). It doesn't affect what you're trying to achieve. I would suggest, however, that you use hyphens instead of underscores (they just look better to me.) Also keep

CF-Based HRIS/HRMS Software

2006-08-23 Thread Rachel Maxim
Can anyone recommend or does anyone know of any ColdFusion-based HR Management software? I'm looking for something that does the typical HR tasks - employee management, leave, benefits, etc. CF 7 and SQLServer compatibility would be ideal. Doesn't necessarily need to be cheap, free or open

RE: CFQUERY of non-swequential primary key ids

2006-08-23 Thread Everett, Al \(NIH/NIGMS\) [C]
How very inefficient. How about something like this: cfquery name=get_vid_ids datasource=#datasource# SELECT vidwee_id FROM vidweek /cfquery cfset idList=valueList(get_vid_ids.vidwee_id) cfset idPosition=randRange(1,listLen(idList),SHA1PRNG) cfset VAL_ID=listGetAt(idList,idPosition) CFQUERY

Re: CFQUERY of non-swequential primary key ids

2006-08-23 Thread Greg Morphis
You could query the table and get a list of the available IDs. Generate a random number between 1 and listlen() and then using ListGetAt() you can get that random ID and then query the DB again to pull back that record. On 8/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, I'm doing a

code indentation

2006-08-23 Thread krish P
please someone can help me out with how to indent the source code in cfeclipse? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your

RE: CFQUERY of non-swequential primary key ids

2006-08-23 Thread Ben Nadel
Let's get jiggy with it and get even simpler... ONE database call: CFQUERY name=get_vids2 datasource=#datasource# select TOP 1 vow_up_lgnail_file, vidwee_id, vow_title from vidweek order by newid() ASC /CFQUERY This leverages the *randomness*

RE: code indentation

2006-08-23 Thread Adrian Lynch
Press tab :OD Oh come on, you all thought it! -Original Message- From: krish P [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 18:00 To: CF-Talk Subject: code indentation please someone can help me out with how to indent the source code in cfeclipse?

Re: code indentation

2006-08-23 Thread krish P
i am talking about the whole page like in java example:(ctr + shift + f) is there any command? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers,

Re: code indentation

2006-08-23 Thread krish P
is there any command ? i want to indent whole page. like in java(ctr + shift + f) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your

Re: Async drive read

2006-08-23 Thread Michael Dinowitz
It's a DVD drive. I've got about 500 CDs and DVDs of comics to index for a job. I didn't think the async idea would be a good one but it was just so cool in theory. I just needed someone elses input to stop me before I do cool things that result in bad things. The theory is solid but the

RE: Async drive read

2006-08-23 Thread Kevin Aebig
If I was in your situation, the question would be which is faster. I'd rather burn out a $50 DVD/CD reader and get it done in half the time than save the drive and work at a snails pace. Since it's not my situation, I'd personally test both with the same disc to see which performs the way you

Re: Async drive read

2006-08-23 Thread Robertson-Ravo, Neil (RX)
If it only has one head how are you going to perform more than one read using async on hard media? This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains

Session issues

2006-08-23 Thread Jason Fill
I am all the sudden having a problem with some users sessions being set. They say when they login they get kicked back out to my screen that says their session has expired. This is the code I have that will set the session when they login: cflock scope=session timeout=10 type=exclusive

Re: coldfusion sql injection

2006-08-23 Thread Jochem van Dieten
Russ wrote: The string is also autoescaped even if you don't use cfqueryparam... at least on SQL server. Is it not with other DB systems? It is. But that is not enough. Jochem ~| Introducing the Fusion Authority Quarterly

RE: coldfusion sql injection

2006-08-23 Thread Russ
So there's the question. Can someone provide an example of a working sql injection attack? -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 2:05 PM To: CF-Talk Subject: Re: coldfusion sql injection Russ wrote: The string is

RE: code indentation

2006-08-23 Thread Sandra Clark
Umm, Ctrl-A (select whole page) TAB? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility CSS HANDS ON New York City, October 10-13, 2006. http://www.shayna.com/index.cfm?fuseaction=training.syllabus_displayid=1 Read an

Re: code indentation

2006-08-23 Thread Jake Churchill
Try select all (Ctrl+A) then Ctrl + Shift + Sandra Clark wrote: Umm, Ctrl-A (select whole page) TAB? Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility CSS HANDS ON New York City, October 10-13, 2006.

Webservices and HTTP Authentication

2006-08-23 Thread jonese
Anyone have code or a blog post which talks about conecting to a webserive which uses basic HTTP authentication? also anyone have any experiance with the paytronix web service? thanks in advance jonese ~| Introducing the Fusion

cookie question

2006-08-23 Thread Eric Roberts
I doing an add this page function on the site I am working on. We tried to do this as a form submission, but for some bizarro world reason, the hidden field witht he URL was not getting passed. So our next step was to set a cookie as a flag. Here is what is happenbing... You click on add

Re: Session issues

2006-08-23 Thread Jeff Guillaume
Let's see your isUserAuthenticated function. (Also, you don't need to use YesNoFormat... your function should just return a type of boolean.) cfscript if(YesNoFormat(Application.Security.isUserAuthenticated()) EQ No AND trim(attributes.fuseaction) EQ personalinfo){

Re: cfexecute problem...

2006-08-23 Thread Gabriel Bulfon
I don't know why, but the cfexecute or a command that i run (exp, from oracle) don't release the file handler. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by

Re: Session issues

2006-08-23 Thread Jason Fill
Here is the isUserAuthenticated Function. cffunction name=isUserAuthenticated output=false returntype=boolean hint=Checks to make sure a user has an active session. cflock scope=session timeout=10 type=readonly cfscript

RE: cfexecute problem...

2006-08-23 Thread Ben Nadel
What happens if you run this same command from the command line manually, outside of CF, does anything weird happen? ... Ben Nadel Web Developer Nylon Technology 350 7th Avenue Floor 10 New York, NY 10001 212.691.1134 x 14 212.691.3477 fax www.nylontechnology.com Some

mod_rewrite madness

2006-08-23 Thread Scott Stroz
I am trying to get mod_rewrie working with a site I am developing. Here is my setup, WinXP Pro, Apache 2.0.55, CFMX 7 (multi-Server). I have tested mod_rewrite using basic html files, and it is is wokring as expected. However, when I try to redirect to a .cfm page, I get the following:

RE: mod_rewrite madness

2006-08-23 Thread Russ
Can you post your rules? BTW looks like apache 2.2 works with cf7 after the latest hotfix. No need to run 2.0.55 anymore.. -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 3:14 PM To: CF-Talk Subject: mod_rewrite madness I am

Re: mod_rewrite madness

2006-08-23 Thread Joseph Lamoree
On 23 Aug 2006, at 12:13, Scott Stroz wrote: However, when I try to redirect to a .cfm page, I get the following: headtitleJRun Servlet Error/title/headh1403 Forbidden/ h1body Forbidden/body I have encountered this before. I did some Googling at the time, but I don't believe I found the

RE: coldfusion sql injection

2006-08-23 Thread Snake
I posted one earlier. Replace a numeric value that is sent via form or URL with some SQL and the SQL will execute. Snake -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 23 August 2006 19:16 To: CF-Talk Subject: RE: coldfusion sql injection So there's the question. Can

Re: coldfusion sql injection

2006-08-23 Thread Jochem van Dieten
Russ wrote: So there's the question. Can someone provide an example of a working sql injection attack? Plenty have been posted in this thread. Even more are in the archives. And if that isn't enough, check the archives of the penetration-testing securityfocus mailinglist. Jochem

Re: mod_rewrite madness

2006-08-23 Thread Barney Boisvert
There is are RewriteLog and RewriteLogLevel directives that can be used to debug your mod_rewrite configuration by recording what rules are changing the request destination from what to what. Drop those in your Apache config and you should be able trace through and figure out what URL is actually

Re: Planning and Sizing a Coldfusion Environment

2006-08-23 Thread Rick Root
Tom Chiverton wrote: On Tuesday 22 August 2006 19:05, Snake wrote: Load testing your apps would be a good start. Indeed. If you know your current XGhz/YGig box can support Z users with responses times under 5 seconds, it's a fair bit a 2X/2Y box will support 2Z. It's difficult to load

Re: Handle lists with delimiters in the data.

2006-08-23 Thread Rick Root
Michael E. Carluen wrote: Ian, upon your building your parsed list, can't you just specify an obscure delimeter like a pipe | character? I've always done it this way and been quite effective on comma formatted numbers like you have. if I think it's gonna be an issue, I'll *OFTEN* use chr(1)

Re: Session issues

2006-08-23 Thread Jeff Guillaume
Your framework looks good to me. If this problem just popped up out of nowhere, and you didn't make any code changes, you should probably check if there were any server configuration changes in CF Admin or IIS. ~| Introducing

Re: Session issues

2006-08-23 Thread Jeff Guillaume
Your framework looks good to me. If this problem just popped up out of nowhere, and you didn't make any code changes, you should probably check if there were any server configuration changes in CF Admin or IIS. ~| Introducing

Re: mod_rewrite madness

2006-08-23 Thread Scott Stroz
Its working. Barney, you were correct in your assumption of adding the PT flag. Adding that worked as expected. Thanx guys! I love this list. On 8/23/06, Scott Stroz [EMAIL PROTECTED] wrote: Barney/Joseph, I have logging on, and if I am reading it correctly, the URL is being rewritten

Re: mod_rewrite madness

2006-08-23 Thread Scott Stroz
Barney/Joseph, I have logging on, and if I am reading it correctly, the URL is being rewritten correctly. For example: applying pattern '^/event/(.*)$' to uri '/event/test' rewrite /event/test - /index2.cfm?event=test split uri=/index2.cfm?event=test - uri=/index2.cfm, args=event=test I'll try

Sorting by Column Headers

2006-08-23 Thread Rick King
I have a search results page where I am using the column headers as way to sort. Each time you click to header, it runs the query again and appends the URL to something like searchresults.cfm?SortBy=Price. However, once you sort by Column Header, it returns ALL the rows, not just the results

RE: Sorting by Column Headers

2006-08-23 Thread Everett, Al \(NIH/NIGMS\) [C]
Well, yeah, because the form variables don't exist because you're not submitting a form. There are a couple of ways I would attack this: 1. Cache the initial query to the session scope. Then do a query of query to sort when one of the headers is clicked. 2. Have the form use method=get so that

RE: Sorting by Column Headers

2006-08-23 Thread Robert Feyerherm
It also wouldn't hurt to reference url.sortby instead of having it scope hunt. -Robert -Original Message- From: Everett, Al (NIH/NIGMS) [C] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 2:55 PM To: CF-Talk Subject: RE: Sorting by Column Headers Well, yeah, because the form

Re: Sorting by Column Headers

2006-08-23 Thread Jim Wright
Everett, Al (NIH/NIGMS) [C] wrote: Well, yeah, because the form variables don't exist because you're not submitting a form. There are a couple of ways I would attack this: 1. Cache the initial query to the session scope. Then do a query of query to sort when one of the headers is clicked.

Re: Sorting by Column Headers

2006-08-23 Thread Jeff Guillaume
The quickest fix would be to pass your search parameters on the URL instead of FORM (action=get instead of action=post from the submitting page). Then grab the current URL, minus the sort parameter, to re-use for the next output. cfset theUrl = cgi.script_name ? left(cgi.query_string,

Re: Sorting by Column Headers

2006-08-23 Thread Jeff Guillaume
Storing the results in SESSION is a nifty (and fast) method, but I'd only recommend it if you know your result sets will always be relatively small. You don't want 100 people caching a resultset of, say, 10,000 rows of data. You'll run into memory issues.

Figuring out significant digit.

2006-08-23 Thread Ian Skinner
This is a bit unusual. I want to figure out 75% of a given number and then round | floor | ceiling this number to a significant digit of the number. This is probably best described with examples. 75% of 93 = 69.75 floor to 60. 75% of 1.1 = 0.825 floor to 0.8 75% of 14 = 11.25 floor to 10 75%

Image Resize - again

2006-08-23 Thread Les Mizzell
Oh boy - a client calls me earlier today. What's wrong with my site? My images page is crashing my browser/computer. The Images page has an admin behind it where the client can add thumbnails (defined as 150px x 150px), which obviously links to a detail page with description. I don't have any

Re: Image Resize - again

2006-08-23 Thread Jake Churchill
CFX_Image. Not sure if that's too much java but I use it. Les Mizzell wrote: Oh boy - a client calls me earlier today. What's wrong with my site? My images page is crashing my browser/computer. The Images page has an admin behind it where the client can add thumbnails (defined as 150px x

  1   2   >