thanks guys, still having trouble but have managed to upload content directly
to the database (bypassing cms). tiny mce seems to be my problem now as it
converts the correct content back to something else then i am back at the start.
arrghh.
Nathan Strutz wrote:
1) cache it in ColdFusion - just use the cachedWithin attribute of cfquery,
it's easy, it works great. Set it to a day or 5 minutes or 1 minute or even
10 seconds if you're concerned about the data being out of date. This is
Hey Nathan,
The only think that I'm confused
MemberName should have ID and NAME
If it works in IE, that means that MemberName only has NAME since IE
resolves the getElementById function to both the ID and NAME of the object
in this code example, both selects will work in IE but only the second
one will work in FF
select name=MemberName
Might want to post *that* question to the TinyMCE forums...?
http://tinymce.moxiecode.com/punbb/
(I looked through http://wiki.moxiecode.com/index.php/TinyMCE:Index and did
not see anything obvious.)
On Thu, Feb 19, 2009 at 2:21 AM, Mike Little m...@nzsolutions.co.nz wrote:
thanks guys,
i have a cfform input tag for email address. it is not required that they enter
one.
on the script below, it works fine when they enter something in field but opens
an invalid entry popup if field is left empty.
i have required=no... also there are 4 email fields in the form: blm_eml1,
Hi all,
I have a weird issue with some number formatting, or more specifically I think
it is a rounding issue.
I have a cfc result that is being used in a query of queries, and the results
are being output into a table of numeric values, like an invoice.
On my local development
The RegEx pattern is what's insisting on content there. Add a ? at the end
of it to allow 0 or 1 of the pattern, and that should then allow the field to
be blank.
Something like:
pattern=^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})?$
Why not just use cfinput type=text name=blm_eml1 validate=email ?
On Thu, Feb 19, 2009 at 6:42 AM, Jason Fisher ja...@wanax.com wrote:
The RegEx pattern is what's insisting on content there. Add a ? at the
end of it to allow 0 or 1 of the pattern, and that should then allow the
field to be
The default limit in CF Admin for cached queries is 100. We do cache
queries, but have had some issues with query timeout.
Is there a larger limit I can set that would be reasonable?
Robert B. Harrison
Director of Interactive services
Austin Williams
125 Kennedy Drive, Suite 100 Hauppauge
On the issue of query time outs, some of the queries which have time out are
really simple (e.g., select the top 2 rows, 10 fields from one table), so
it's not related to the query.
This started after our ISP moved the server to a new data center. All that
has changed are the IPs of the
Mary Jo,
I think it would be the underlying protocol of Java not the web server -
right? Does CF pass an HTTP request back through IIS or apache? I think it
accesses the stack using it's own internal libraries. I guess we wait till
they have a new test server ready eh?
-mark
Mark A. Kruger,
Robert,
did you have any performance issues before? BTW: 100 queries is a very low
number. I have seen servers that use the highest amount possible which was
and it still wasn't enough...
Anyway. Just imagine a query consisting out of 2 rows with let's say 25
columns each containing around
Ok, I think what I hear is this:
If a user actually clicks on a link to the word document, then you're calling
it read.
So that's easy.
On your DocDisplay.cfm (which I'm assuming is the file with the cfcontent)
put in a SQL insert there to mark the document as read, then use your
cfcontent
Our data is constantly changing so caching really wasn't an option and we
saw no need to retrieve 10k records from the db but only show the user 25 or
50 or 100 of them at a time. So in Oracle you can set a start/limit in the
query like so: (Might be a syntax error in there as I haven't had any
Have you checked the raw result coming back from the DB (i.e.
#qPayments.refundamt#)? That might be the difference.
cheers,
barenyb
On Thu, Feb 19, 2009 at 3:38 AM, shaun mccran
houseoffus...@mccran.co.uk wrote:
Hi all,
I have a weird issue with some number formatting, or more
I think it would be the underlying protocol of Java not the web server -
right? Does CF pass an HTTP request back through IIS or apache? I think it
accesses the stack using it's own internal libraries. I guess we wait till
they have a new test server ready eh?
CF doesn't use the web server
I think it would be the underlying protocol of Java not the web server -
right?
That would have been my assumption as well, the support from AuthNet seemed to
think otherwise, but I certainly don't trust their knowledge of CF and its
inner workings. Which still brings me back to trying to
Mary Jo,
Hmmm... You know the more I think of it the more I believe you should only
be concerned about CF 5. SSL 3.0 came out in 1996 and I think it's the
version that supports chaining certificates. I have certainly dealt with
cert chain issues in both CF 6 and CF 7 - so I'm of a mind to
Hmmm... You know the more I think of it the more I believe you should only
be concerned about CF 5. SSL 3.0 came out in 1996 and I think it's the
version that supports chaining certificates. I have certainly dealt with
cert chain issues in both CF 6 and CF 7 - so I'm of a mind to believe those
That would have been my assumption as well, the support from AuthNet seemed
to think
otherwise, but I certainly don't trust their knowledge of CF and its inner
workings. Which still
brings me back to trying to determine exactly *which* versions of CF do
support SSL v3.0 by
default. Like
MySQL 5
My client wants to run a report on taxes collected for a given month in a given
year. I have a typical orders table with an âordertaxâ field and
âorderdateâ field. Iâm remote right now so I canât test this, but how
could I spit out order totals for each month. Hereâs
I teach high school comp sci. CF is our primary web development
language, and I have a dev server running CF8 Standard, Windows 2003
Server, and IIS, but a student would like to explore JSP development.
What's the best, most direct route to take to be able to run JSP's on
the server? Is there a
This happened on a small site with a user admin system that's password
protected. Seems Googlebot managed to get into the admin system last
night, started crawling admin pages, and ended up munging half the database:
1. Clicking archive or mark inactive buttons on admin area
index pages
What's the best, most direct route to take to be able to run JSP's on
the server?
Create a JSP page and run it. CF server runs JSP's out of the box. I am not
sure about running JSP code on a CF page.
G!
On Thu, Feb 19, 2009 at 2:36 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote:
I teach
If you install the developer version of ColdFusion in either multi-home
or j2ee flavors so that you get the full, underlining JRun server, you
can then use it has a JSP server.
You can also install anything like Tomcat to the same affect.
Yeah, I hate to say it but
Your problem is that you are relying on Javascript as your security. Anybody
an tell their browser to ignore your security, thus they will not get
redirected to the login page.
You need to either use cflocation to redirect them to your login page or a
cfinclude of
cfif session.allowin neq true
cfif ListLast(CGI.SCRIPT_NAME, /) EQ ../admin_login.cfm
cfelseif ListLast(CGI.SCRIPT_NAME, /) EQ login_process.cfm
cfelse
!--- Not logged in, alert user and redirect ---
script
!---alert(You must login to access this
Turn off Javascript in your browser and then try to use your admin pages.
It looks like your security 'requires' javascript to be turned on. Spiders
tend to ignore javascript entirely.
I would change the javascript 'self.location' to a 'cflocation' tag. This
will force the browser to the login
I don't believe the googlebot can be stopped by Javascript, and nevertheless
it's probably never a really good idea to prevent access to admin pages with
JS only as disabling Javascript is relatively easy.
Using cflocation would probably take care of it, though, and effectively
redirects the
Just another note on this. I've heard of people setting up proxies
that ignored all redirect headers sent back to them. This means that
if you use cflocation to locate to your login page, you should also
ensure that the requested page does not show up should the cflocation
fail. ie.
cflocation
I am trying to find a decent CF8 hosting company that offers SQL Server.
The company I am working with now (remotely) does not have a dev server,
so I am looking for something that is going to have very little traffic,
simply just allowing him to review. No email is needed, etc
Thanks!
How about:
---
login process:
---
cfif qVerify.RecordCount
!--- LOGGED IN ---
cfset session.allowin = True /
cfset session.user_id = qVerify.id /
cflocation url=idx_admin.cfm /
cfelse
!--- NOT LOGGED IN ---
Plus Google usually abides by robots.txt. Make sure you disallow your admin
pages/folders to all bots. At least this will stop the honest ones.
Wil Genovese
On Thu, Feb 19, 2009 at 2:41 PM, Dominic Watson
watson.domi...@googlemail.com wrote:
Just another note on this. I've heard of
Dominic Watson wrote:
Just another note on this. I've heard of people setting up proxies
that ignored all redirect headers sent back to them. This means that
if you use cflocation to locate to your login page, you should also
ensure that the requested page does not show up should the
Les Mizzell wrote:
!--- NOT LOGGED IN ---
script
alert(Your credentials could not be verified, please try
again!!!);
/script
cflocation url=../login.cfm /
cfabort
Since CFLOCATION won't send your JavaScript output, you'll need to pass
your message along
So,
1. Anybody else have this problem recently?
2. I'm an idiot I guess, how *should* I be doing my login systems?
(One site on CF8, others still CF7)
4. If you're doing anything like I am, then maybe we're *all* idiots at
this point and need to redo our login pages to use whatever
First, I have no clue about CF. We had a developer make a site in CF and now
he is gone. I'm simply trying to add a new page to the existing site and it
does not work.
Here is the response that I get:
Could not find the included template /products/bf.cfm.
Note: If you wish to use an
Create a JSP page and run it. CF server runs JSP's out of the box. I am not
sure about running JSP code on a CF page.
CF Standard doesn't execute JSPs or servlets, if I recall correctly.
That requires CF Enterprise/Developer/Trial.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Just another note on this. I've heard of people setting up proxies
that ignored all redirect headers sent back to them. This means that
if you use cflocation to locate to your login page, you should also
ensure that the requested page does not show up should the cflocation
fail. ie.
You need to add the filename of the page you're adding to the PageInclude
column of the database table (dbo.ProductPages), and a then pass the pageID
code of the new item to index.cfm (index.cfm?p=[PageID]). On second glance,
it looks like you may have already done this part--your message says it
CF uses / to indicate a mapping (an alias to a specific location). by
default, the / alone is a mapping to the web root.
in the CF Admin, you can set up additional mappings, such that /products
could point to c:\inetpub\wwwroot\foo\bar\products
since you're using /products/bf.cfm, unless there
Hi Scott
After your /cfquery, add this to see exactly what the query is
returning:
cfdump var=#GetPageContent#
cfabort
The first line will dump the query (or any variable, which is very
handy), and cfabort will end the page (before the error hits). If the
dump doesn't show a column called
CF server runs JSP's out of the box.
Strike that. The CF server standard (stand alone install) will not run
JSP's and will throw 500 A License Exception has been thrown error (
tested on CF7). But on my evaluation version it ran fine.
According to Kristen Schofield, ColdFusion Enterprise is
I have a code that i wrote looking for the specific courses and check for the
completion. Now the requirenment has changed.
4. Date Rule: This will have a number of possibilities.
0: Ignore start and end dates. Display this course for all EDITs
1: This course will be displayed to an
All existing pages work.
I'm just copying the way he did it on the old pages.
I add an entry into the DB and point it to this file which is in the
same sub folder as the other working ones.
I added that code and on the working pages, nothing happened.
On the new page I added I got the
http://www.catb.org/~esr/faqs/smart-questions.html
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
I got it all figured it and im pretty much a dumb azz...
Sorry for the interruption.. It's all my fault.
I guess I now know more about CF then I did yesterday...
Scott
-Original Message-
From: Gaulin, Mark [mailto:mgau...@globalspec.com]
Sent: Thursday, February 19, 2009 3:52
Just wondering how others are dealing with public member signups that
require an email activation?
What I'm doing on a new site that I recently set up is sending out the
activation as soon as someone registers. If a user tries to login with an
account still in the unactivated state, they're
No problem, this is a good list so feel free to ask more questions.
-- Josh
-Original Message-
From: Scott Weber [mailto:swe...@thanksal.com]
Sent: Thursday, February 19, 2009 2:52 PM
To: cf-talk
Subject: RE: cfinclude template issues
I got it all figured it and im pretty much a
On Thu, Feb 19, 2009 at 2:51 PM, Scott Weber swe...@thanksal.com wrote:
I guess I now know more about CF then I did yesterday...
That's a good thing :)
--
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.
Aha - that kicks ass :) I wish I knew that when I was having a
discussion with the php developer telling me about the proxy ignoring
headers while he was also dissing cf!
Next time.
2009/2/19 Dave Watts dwa...@figleaf.com:
CFLOCATION aborts the processing of the current page. Any output
You have much to learn, young padawan, but you are in the right place.
You're telling me. Fusebox 5.x has me tearing my hair out. Maybe
somebody will release Dummies Guide to Fusebox at some point. I'm
going to need it
read the fusebox 4 book from techspedition. While it's not completely
up-to-date, I think it would still help on the conceptual level. FB 5.x
still maintains backwards compatibility with 4.x applications with some
new features added, as documented on the FB site.
btw, if you want to make
Ehh.. I'd rather do it at the CF level right now, but I appreciate the
suggestion..
thanks,
Mike
Nick Giovanni wrote:
I'd do it at the DB level, easy to implement in Oracle not sure about the
others.
On Wed, Feb 18, 2009 at 11:48 AM, Mike Soultanian msoul...@csulb.eduwrote:
If I
http://tech.groups.yahoo.com/group/fusebox5/
On Thu, Feb 19, 2009 at 3:53 PM, Les Mizzell lesm...@bellsouth.net wrote:
You're telling me. Fusebox 5.x has me tearing my hair out. Maybe
somebody will release Dummies Guide to Fusebox at some point. I'm
going to need it
Les Mizzell wrote:
You have much to learn, young padawan, but you are in the right place.
You're telling me. Fusebox 5.x has me tearing my hair out. Maybe
somebody will release Dummies Guide to Fusebox at some point. I'm
going to need it
There used to be books on Fusebox several
Jim McAtee wrote:
Just wondering how others are dealing with public member signups that
require an email activation?
I've essentially done the same thing at DtDNS for ten years without any
trouble. If they try to log in they get the error and are directed to
the lost password routine. If
Nick G wrote:
Select * From
(
Select rownum rnum, p.* From
(
SELECT count(1) Over() totalCount, a.columns, b.columns FROM
table a, table b WHERE a.id = b.id ORDER BY a.name
) p
Where rownum = #Abs((start + Limit) - 1)#
)
Where rnum = #start#
The paging is simple enough to implement and even easier using EXT.
Obviously if you're not using Oracle this won't work but I'm sure the
other
db's have a similar way to accomplish this.
I'm assuming EXT is Oracle-specific? I'm using MySQL.
Sorry I really made that sound like
---
Application
---
CFPARAM NAME=session.allowin DEFAULT=false
cfif session.allowin neq true
cfif ListLast(CGI.SCRIPT_NAME, /) EQ ../login.cfm
cfelseif ListLast(CGI.SCRIPT_NAME, /) EQ login_process.cfm
cfif structKeyExists(cookie, CFID) AND structKeyExists(cookie,
CFTOKEN)
cfcookie name=CFID value=#cookie.cfid# /
cfcookie name=CFTOKEN value=#cookie.cftoken# /
/cfif
~|
Adobe® ColdFusion® 8 software 8 is the most
use j2ee sessions (setting in cf admin)
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Les Mizzell wrote:
Right now, I can login, and go to a page in the admin folder, copy the
address, close the browser, and for the next 10 minutes, still get back
in simply by putting the page
Matt Quackenbush wrote:
cfif structKeyExists(cookie, CFID) AND structKeyExists(cookie,
CFTOKEN)
cfcookie name=CFID value=#cookie.cfid# /
cfcookie name=CFTOKEN value=#cookie.cftoken# /
/cfif
OK, that works, but I don't get exactly what it's doing.
Matt Quackenbush wrote:
cfif structKeyExists(cookie, CFID) AND structKeyExists(cookie,
CFTOKEN)
cfcookie name=CFID value=#cookie.cfid# /
cfcookie name=CFTOKEN value=#cookie.cftoken# /
/cfif
Hey Matt,
I use that same code - how does it actually work? I never quite
understood how it
Les Mizzell wrote:
Matt Quackenbush wrote:
cfif structKeyExists(cookie, CFID) AND structKeyExists(cookie,
CFTOKEN)
cfcookie name=CFID value=#cookie.cfid# /
cfcookie name=CFTOKEN value=#cookie.cftoken# /
/cfif
OK, that works, but I don't get exactly what it's doing.
It replaces
This is where I should post links to Fusebox 5 FLiP and How To Drive
Fusebox 5.5 but protonarts.com is down. Anyone have any ideas and/or Jeff
Peters on speed dial...?
On Thu, Feb 19, 2009 at 6:48 PM, Justin Scott
jscott-li...@gravityfree.comwrote:
Les Mizzell wrote:
You have much to
Hi Bob,
That didn't work, same kind of layout bug.
Thanks anyway.
MS
On Wed, Feb 18, 2009 at 6:17 PM, Bob sol_xp...@yahoo.com wrote:
I think what you need is as follows :
html
head
/head
body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0
marginwidth=0 marginheight=0
Good to know Steve, I wish I had asked before, it would have saved me
some hours.
Thanks!
MS
On Thu, Feb 19, 2009 at 12:57 AM, Cutter (CFRelated)
cold.fus...@cutterscrossing.com wrote:
MS,
The Ext Viewport doesn't work in this fashion (that's the underlying
component of cflayout). The
In working out my Googlebot problem, I came across an idea of using
HTTP_USER_AGENT to identify a bot, and then exclude it from an area or
whatever (redirect it to www.disney.com or something... that's a joke)
... assuming it gets in despite the robots.txt file.
So, this looks like a good
Nobody else mentioned it yet, but I had something similar happen many
years ago - a link checking program was accidentally run on a
password protected area of the website and did a lot of funny things
to our database..
ever since then, I never use a link to make a change in my
database. It
Hi All,
Is is technically possible to have some sort of conversion process that
converts existing form documents (word PDF froms)to a flashpaper format
(ie retaining all the formating and branding of the document), while
allowing (or adding) the ability to send the form results to either a DB
It's trivial to fake this header and many bad bots (i.e. the ones that
ignore robots.txt) will pretend to be IE or another browser.
Claude S has posted his solutions in the past and that should all be
in the archives.
mxAjax / CFAjax docs and other useful articles:
Scott, I would suggest doing Mark's first suggestion. Then open the page
using a product that 'used' to work (or still does work). And write down the
EXACT value that is displayed for GetPageContent.PageInclude.
Then compare that value to the one that is generated when you try to open
your new
I think it is probably a moot point, but it probably bears repeating.
If you can run a link checker on your 'password protected' site, and that
link checker can cause 'damage' to anything. Then you are not properly
protecting your area. I have not yet come across a link checker that can
submit
Hi all,
I have an issue
Have a form and have the three raio buttons and I grouped it. Need to select
one option and depending on the option need to fill texboxes. I am able to
select the radio button and produce the error message.
I am trying to disable and enable textboxes and
Yeah, as a general rule-- never base security off anything in the cgi
scope. Anything that comes in the request header can be spoofed.
~Brad
Original Message
Subject: Re: HTTP_USER_AGENT question
From: James Holmes james.hol...@gmail.com
Date: Thu, February 19, 2009 11:47 pm
I use this in my application.cfc right at top. It notes the more common bots
(google) and assigns them a timeout of 2 seconds. You can use the same logic
for whatever you want.
IF
(REFindNoCase('Slurp|Google|BecomeBot|msnbot|ZyBorg|RufusBot|EMonitor|java',
cgi.http_user_agent))
77 matches
Mail list logo