Hi
I have the following piece of code that checks to see if a user can see a
specific pageid or not. Unfortunately it is not doing the job as I have a
list that looks something like this:
4,14,3,2,8,44
If the user is allowed to see page 4, then he would be able to see all pages
that contains a
Been using cfindex for quite sometime now with now problems. Transfere
everything to a 2000 server and CF5 and it seems to work in testing, switch
machine as the production server...and it fails.
Error trying to open batchFilename
Can anyone please shed some light on this. I have searched a
I just had to hard reset my computer while editing a cfm template
in coldfusion studio, and when I logged in again found out it was
0 byte!!!
All of my week's work is gone (the file was around 15Kb of code).
I didn't save it in a diffrent location. is there still a place where I
can find it??
well, if you must ftp the files (secure ftp?), how about providing the user with a
web-based (https) template in a protected admin area? Give them a field to input the
decryption key, and a field to paste in the string to be decoded.
---
Matt Robertson
Chad,
These two queries are NOT doing the same thing!
In your second query, the FROM statement and WHERE clause
FROM JOBINFO, ACTIVITYLOG
WHERE JOBINFO.JOBNUM = ACTIVITYLOG.JOBNUM
imply an INNER JOIN, not a LEFT OUTER JOIN. This will only select rows from
either table where the JOBNUM field
who use lotus domino server and cold fusion server 4.5???
byz...
lore
Lorenzo Imperatrice
Project Manager
[EMAIL PROTECTED]
--
PROMOSnet s.r.l.
Firenze - Via A. di Duccio, 20/22
Tel. +39 055 7135176 - +39 055 7134740
Fax +39 055 7131634 -
I have an application where one set of people can enter some details about a
set of jobs, and another set can review these and approve or reject them,
which feeds back to the first set.
My problem is how to lock the records in the Oracle database while the 2nd
set is reviewing them, so the 1st
Frank,
According to CERT, you're out of luck. You're facing a network disconnect and a
ground-up reinstall.
http://www.cert.org/tech_tips/win-UNIX-system_compromise.html
Naturally you should research this thoroughly before doing something like that.
Sorry for the downer.
How are people fighting this thing? It uses Port 80 so filtering is not working well,
has anyone else found something to concentrate on to filter at the router or firewall.
It is not doing damage since I am patched, but it is creating enough traffic to slow
website performance.
Thanks,
Hi Carlo,
If the user is allowed to see page 4, then he would be able to see all
pages that contains a 4, so it does not work correctly.
cfif listcontains(newlist, #pageid#)
cfinclude template=#page#
(snipped)
Try using ListFind instead of ListContains. ListContains will
You're right, the cflocation would execute before the page is sent to the
browser - so the javascript wouldn't get executed.
It sounds to me like your root cause is page caching (or more specifically
in your case, a lack of page caching). We ran into that Data Missing
condition a bunch of
Use an onclose javascript to call a page that deletes their name out of the
structure, then close that page via java (since you opened with java,
netscape shouldn't kick an error to the user). If deleting the struct key
is all your doing, it will be almost invisible. I Would also check to see
Am I the only one not getting list mail? Correction... I've gotten three messages
since yesterday afternoon; prior to which I received a steady stream. So the mail
hasn't *completely* stopped. Checked my mail server logs and saw no problems there.
Overall msg traffic *seems* down, but I'm
You should use ListFind rather than ListContains
--- van Wyk, Carlo [EMAIL PROTECTED]
wrote:
cfif listcontains(newlist, #pageid#)
cfinclude template=#page#
cfelse
cfoutput
#application.securityerror#
/cfoutput
/cfif
Regards
Carlo
=
I-Lin
If your project needs to create thumbnails, copy/rename/move images
alone, just use CFX_IMAGE.
http://www.intrafoundation.com
CFEXECUTE is easy to use, just read the docs,
call the cmd prompt with the right arguments to complete the task for
you.
Again, I'm not sure how ImageMagik handles
hi everybody,
i am developing a email outbound system in which the send out email
page uses CFHTTP to grap a dynamic page ( data from oracle
database ) from the same website ( the CF server and the CF source
codes are on the same server, but the oracle database is on
a different server ).
Try ListFind()
Also (if you can) build your lists with a good delimiter. the Bell
character is great.
ListAppend(YourList,YourListItem,chr(7))
Then: ListFind(YourList,AnItem,chr(7))
Hi
I have the following piece of code that checks to see if a user can see a
specific pageid or not.
-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 7:36 PM
To: CF-Talk
Subject: I've lost a week's work!!!
I just had to hard reset my computer while editing a cfm template
in coldfusion studio, and when I logged in again
We've been putting up back issues to catch up but things just keep piling
on. I think we're going to jump ahead and do the latest issue and then back
track.
The weekly alerts (Fusion Authority) are few and far between.
-Original Message-
From: Erika L. Walker [mailto:[EMAIL
Try using a structure and using Struct Funtions like Find, Get etc...
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives:
Not totally clear on this but I do remember we had loads of problems
uploading from Macs - think the problem was that some versions of IE didn;t
implement file upload properly. I do have a site that does this but only
with IE5. Maybe you could check your code (which looks fine at a glance)
with
Perhaps you should re-think the entire process going on here.
With form validation, and invalid information is entered, I usually give
an error message at the top of the page, and then show the form populated
with the information that they have entered. If you really want to be
fancy, then
Its been suggested, its been tried and its been abandoned. In its place we
have a TO which is ALWAYS CF-Talk. Filter on that.
P.S. remember not to set up two filters on the same message type as it will
duplicate the message and you'll think your getting double mail.
I just read the comment of
4,14,3,2,8,44
If the user is allowed to see page 4, then he would be able to see all
pages
that contains a 4, so it does not work correctly.
This code should be what you need:
If the user is allowed to see page 4, then he would be able to see all pages
that contains a 4, so it does not work
We have a site that uses the CFContent tag for downloading files to the
user.
We ran into problems with it today where it is giving us blank/empty files.
If we check the physical file, everything is fine.
Funny thing is that this is not happening for ALL files, just most. Some
files are
Ouch.. my sympathies. Inspired me to zip and save my project on a remote
server!
I just had to hard reset my computer while editing a cfm template
in coldfusion studio, and when I logged in again found out it was
0 byte!!!
All of my week's work is gone (the file was around 15Kb of code).
Hi all,
I have a dynamically generated form, with numbered fields. I have the
following code on my action page to set all checkboxes to 0 by default
(the hardcoded 50 is for testing purposes):
cfloop from=1 to=50 index=p
cfset str=form.include #numberformat(p,00_)#
cfparam
I have a custom 404 page that I've got set up as the default missing
template handler in CF admin, and as the custom 404 in IIS.
I also have a mapping set up in CF Admin named /includes
In the template that is my 404 page, I'm trying to do a cfinclude in the
following manner:
cfinclude
Is there anyway to tell what page(s) cfserver.exe is running?
Our production server cfserver.exe is running very high usage more often
than it should for a sustained amount of time. Most of our applications are
pretty light and should not be hitting it so hard. So, my boss is freaking
out and
What are the best bulk email programs out there that integrate with CF? E.g.
Dear functionality
---
Regards,
Darryl Lyons
Senior Systems Developer
Fuzion: http://www.fuzion.com.au
Email : [EMAIL PROTECTED]
Phone : (07) 3620 1000
Fax : (07) 3620 1001
Does anyone see a problem with this
' FileName=Connection_odbc_conn_dsn.htm
' Type=ADO
' HTTP=false ' Catalog=
' Schema=
' MM_Lingerie_STRING = dsn=sales;uid=admin;pwd=safe4176;
MM_Lingerie_STRING= Provider=SQLOLEDB.1; Network
Library=dbmssocn;Password=safe4176;User ID=admin;Initial
Probably something to do with the key being URLencoded.
-Original Message-
From: Chris Bohill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 September 2001 1:23
To: CF-Talk
Subject: Need help with error message.
Can anyone explain why I am getting this error message, when trying to
Good morning,
The ListContains function does not work as you wish it to. You should use
the ListFind and ListFindNoCase functions. Here is what the docs say about
ListFind. I use this quite a bit.
ListFind
Returns the index of the first occurrence of a value within a list. Returns
0 if
-Original Message-
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 6:29 PM
To: CF-Talk
Subject: asp help
Does anyone see a problem with this
' FileName=Connection_odbc_conn_dsn.htm
' Type=ADO
' HTTP=false ' Catalog=
' Schema=
'
test
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe:
2 Possible Solutions off the top of my head:
1. Use List Qualify and then add qualifiers around the data being passed.
2. Use the UDF Below if you're running CF5. This is essentially the same as
above, just in UDF form so that it's easy to remember.
usage:
There is no reason to, unless you need to make sure that you will
get all the relevant records from one or more of the tables
regardless of whether they have corresponding records in the
other tables. That's what an outer join is for.
If you put a row into JOBINFO with no corresponding rows in
Hi
I have a site which I would like to move from Access to SQl server are there
any things I need to be aware of code wise things like dates perhaps?
Kola Oyedeji
Web developer
Macromedia Certified Advanced ColdFusion 5 Developer
http://www.Alexandermark.com
(+44)020-8429-7300
Chad,
There are probably a few ways to do this; one way I can think of would be to
call something on the onBlur() command when the user close the window...
maybe call another function which in turn calls either a CF or cfscript
function to clear the structure by a popup window.
The small window
Yes listcontains will do this!
What you might need to do is something like this:-) Turn the list into
an array, then run a loop until you find the first occurrence.
Regards,
Andrew Scott
-Original Message-
From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 September
I am trying to find the best way to encrypt a .txt file or just a credit
card number going onto that file. I looked at the encrypt function, but
after I encrypt the credit card number, I am writing the results to a
txt document for my client to access via ftp. I need my client to have
the
Any ideas how many emails JMAIL can handle? Ie. Could it send 80,000? If
not, most likely worth looking into a complete listserv/mailing list system?
---
Regards,
Darryl Lyons
Senior Systems Developer
Fuzion: http://www.fuzion.com.au
Email : [EMAIL PROTECTED]
Try using the listFind() function instead.
-Tyson
-Original Message-
From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 4:28 AM
To: CF-Talk
Subject: Listcontains question
Hi
I have the following piece of code that checks to see if a user can see a
do a list loop instead. it loops through the list and checks it with the
number u are looking for (line 5). If it matches, it includes the tmeplate
and breaks off the loop. Then on line 11 it checks to see if it has checked
through everything in the list, and if it has and has gotten this
Reply follows...
--- Garry Red 5 [EMAIL PROTECTED] wrote:
We have a problem involving cflocation. In our code
we have a user-intensive
form, and when this is processed various
(complicated) checks are performed
to ensure data validity. If the numbers entered do
not meet certain
Hi,
I'm using cfdirectory to list files in a specific direectory. What I
would like to do is have a preference page with checkboxes
with all the possible filename extensions. By checking a box(s), this
information will be saved and when the user does another
listing of that directory only the
Hi , Please use ListFind(newlist,4).
There is a difference between listcontains and ListFind, somehow, the
following code will print index:2,index2:5:
cfset newlist=1,44,5,40,4,50
cfset index=listContains(newlist,4)
cfset index2=listFind(newlist,4)
cfoutputindex: #index#br
index2:
for that type of comparison, you might be better served staying away from
the listfind or listcontains functions.
try something like
cfset authorized = false
cfloop list=#newlist# index=accessiblePage
cfif accessiblePage eq pageid
cfset authorized = true
/cfif
Can you do an onUnload javascript to open a new window calling a cfm page to
delete that user from the structure and then use javascript to close the
window that was just opened.
only problem I see with this is that javasript has to enabled and the user
has to let the page load without closing
I thought there would be a way to say after 5 megs of logs clear them or
archive them in CF 5.0? Anyone have any ideas on the automation of this?
Thanks,
Neil
~~
Your ad could be here. Monies from ads go to support these lists and provide more
Use ListFind() instead
---
Billy Cravens
Web Development, EDS
[EMAIL PROTECTED]
-Original Message-
From: van Wyk, Carlo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 4:28 AM
To: CF-Talk
Subject: Listcontains question
Hi
I have the following piece of code that
51 matches
Mail list logo