Anyone know of a simple way to keep track of the total amount of time a
user is logged into an application for?I need to be able to keep track
of total amount of time an application is in use and break it down by
user.
Thanks,
Emmet
[Todays Threads]
[This Message]
[Subscription]
[Fast
Its difficult, because you really don't know when the user quits the
session, unless they actually log out. Or work with some fancy _javascript_
that knows when the user closes the browser or navigates away form your
site.
I guess the simplest way would be to set a session var when they logged
One solution could be two intersection tables.One for foods the person
wants and another for foods they don't want.You could have the all
foods Boolean flag in the people table and modify the SP to add all
foods except the ones listed in the don't want table.Only foods in
the want table are
Hi,
I've just found out that cgi.path_info return empty string in MX, whereas it works in CF5. I've the application just migrated to MX and I don't want to change all the scripts which use cgi.path_info to cgi.script_name, although I know cgi.script_name give the same function. I've too many
Taco Fleur wrote:
I am looking to convert some VB syntax to work with the Word Object, lines
like;
Selection.InsertBreak Type:=wdPageBreak
Is it even possible to work with every method/property of the word
object in
ColdFusion? If so, how would the above translate in ColdFusion?
Sure
cgi.path_info is returned by the webserver.Are you sure its missing in
CFMX or have you changed the webserver you are testing the application
under -- perhaps to use the built-in CFMX web server?
-- geoff
http://www.daemon.com.au/
CK LIM wrote:
Hi,
I've just found out that cgi.path_info
Hi guys,
Could someone tell me what the function is to check passwords are of a
certain string length.I'd like to check the password is at least 6
characters and less than 10.
Thanks,
Stuart
-Original Message-
From: CK LIM [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 09:01
cfif len(trim(password)) gte 6 AND len(trim(password)) lt 10/cfif
-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 9:03 AM
To: CF-Talk
Subject: Password Validation
Hi guys,
Could someone tell me what the function is to check passwords are of
cfif len(form.password) GT 6 and len(form.password) LT 10
-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 14:03
To: CF-Talk
Subject: Password Validation
Hi guys,
Could someone tell me what the function is to check passwords are of a
certain string
cfif len(trim(form.password)) lt 6
Oops
cfelse
Ok
/cfif
-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 9:03 AM
To: CF-Talk
Subject: Password Validation
Hi guys,
Could someone tell me what the function is to check passwords are of a
Joe Celko would also disagree with your idea of singular table
names. Tables contain a set of data. What's in a table describing
people? If you ONLY store one person, then it is a person table. If
it stores more than one person, it is storing people. Typically,
tables contain more than one
Well thats good news!
Looks like I'll be adding another Forta book to my book shelf.If all
programming books were as well written and as interesting to read as
Forta's books are, our jobs would be a lot easier!!
Gabriel
From: Irvin Gomez [mailto:[EMAIL
Thanks for all your responses on that, it's now working perfectly.
:-)
-Original Message-
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 14:08
To: CF-Talk
Subject: RE: Password Validation
cfif len(trim(form.password)) lt 6
Oops
cfelse
Ok
/cfif
Stuart,
On Monday, January 26, 2004, 9:03:18 AM, you wrote:
SK Could someone tell me what the function is to check passwords are
SK of a certain string length.I'd like to check the password is at
SK least 6 characters and less than 10.
If you can use UDFs, you might consider something like this
Does anyone have the number of the technote that describes the process? I
need the one for MX, I remember there being one specific to MX.
I've already seen the article that apples to 4 and 5 -
http://www.macromedia.com/support/coldfusion/ts/documents/tn17279.htm
Thanks!
[Todays Threads]
[This
Hello All,
I have an issue with one of my apps using Access.The database that we are using is created on a machine in our network then sent via FTP to the webserver in a Zipped file.
I need to sever the database connection on the server to the database, so that I can run CFX_ZIP to unzip the
I would have to vote for BSD curly braces. It is easier to match up pairs of
braces looking down in a line than it is to look at the end of one line then
the beginning of some other line that could be hundreds of lines down!
Although I find myself using different styles between languages
Mickael said:
I have an issue with one of my apps using Access.The database that
we are using is created on a machine in our network then sent via
FTP to the webserver in a Zipped file.
I need to sever the database connection on the server to the
database, so that I can run CFX_ZIP to unzip
Hi Mike
Have you tried using cftry and cfcatch, with nothing inside the cfcatch
tags?
cftry
cfquery datasource=#dsn#
SQL here
/cfquery
cfcatch type=database
/cfcatch
/cftry
I haven't used this myself but I think it should work.
Regards
Steve.
-Original Message-
From: Mickael
Mickael,
On Monday, January 26, 2004, 9:35:36 AM, you wrote:
M I would like to make this one process or one initial template that
M I call but when I run my first template to break the connection all
M the processing stops to display the error.How do I accept the
M error and just continue
Hi guys,
I'm also trying to check my password only contains certain characters
i.e. only a-z and 0-9.
cfset chr_list
='a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,0,1,2,3,4,5,6,7,8,
9'
I've made a list of characters I'd like to check but am trying to work
out how to use maybe the
I would set up an extra access database that has linked tables to the original database, use the one with the linked tables as your datasource. The other one will not be locked and you can muck with it as you wish. Performance in my experience is not impacted.
- Original Message -
From:
Does CFTRY actually run the query or does it just check is there is an error?
- Original Message -
From: Ubqtous
To: CF-Talk
Sent: Monday, January 26, 2004 9:51 AM
Subject: Re: Looking for work around for an error
Mickael,
On Monday, January 26, 2004, 9:35:36 AM, you wrote:
M I would
Use regexp
cfif REFind(^[[:alnum:]]{6,10}$,form.password)
OK
cfelse
NOT OK
/cfif
Means : password can only contain alpha-numeric characters and has to be
6 to 10 characters long.
Pascal
-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: maandag 26 januari 2004
You are on windows I assume?What version?
it is pretty much the same as the technote you supplied.the screens
are slightly different depnding on the OS, but the idea is the same.
Just specify a domain login for the ColdFusionMX service.
Sorry I do no know of a technote that explains it
Hi Pascal, that works a treat.But what is regexp?And what does the
^[[: bit mean for further use? Is there stuff in the manual about that?
-Original Message-
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 14:59
To: CF-Talk
Subject: RE: More Password Validation
Ya, I agree...looks like another good one!RegEx is something I have
dabbled in, but never fully explored...looking forward to it.
--Josh
---
Exciteworks -- expert hosting for less!
http://exciteworks.com
specializing in reseller accounts
Gabriel Robichaud wrote:
Well thats good news!
There is stuff in the manual about all of this.
-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:09 AM
To: CF-Talk
Subject: RE: More Password Validation
Hi Pascal, that works a treat.But what is regexp?And what does the
^[[: bit mean for
Or buy the book mentioned right down at the bottom of this email... :)
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 15:10
To: CF-Talk
Subject: RE: More Password Validation
There is stuff in the manual about all of this.
-Original
On Friday, January 23, 2004, at 03:24PM, Tony Weeg wrote:
does randomize do anything for randRange(), or ONLY for rand()
Here's a lot more information than you probably wanted to know:
http://www.markme.com/cantrell/archives/004256.cfm
Christian
[Todays Threads]
[This Message]
Regexp (regular _expression_) is pattern matching. In CF the regexp
functions start with RE.
This regexp:
^ beginning of string
[ start character set
[:alnum:] alpha-numeric character class
] end character set
{6,10} repeat character set 6 to 10 times
$ end of string
There is some stuff in the
Thanks, Josh.
Sorry, yes, we are on Win2K/CF MX 6.1.
- Original Message -
From: Josh
To: CF-Talk
Sent: Monday, January 26, 2004 10:07 AM
Subject: Re: Running CF as a specific user
You are on windows I assume?What version?
it is pretty much the same as the technote you supplied.the
Careful, it's a rolling banner ad, he might buy the wrong book!
:O)
Ade
-Original Message-
From: John Beynon [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 15:09
To: CF-Talk
Subject: RE: More Password Validation
Or buy the book mentioned right down at the bottom of this email...
stas said:
Sorry, yes, we are on Win2K/CF MX 6.1.
If you are not using the CF MX ODBC Services, just follow the manual
for CF 5 (you can even skip the registry part). I never worked with
ODBC and MX, so I can't tell you about them.
Jochem
[Todays Threads]
[This Message]
[Subscription]
excellent christian.
thanks.
tony
-Original Message-
From: Christian Cantrell [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:25 AM
To: CF-Talk
Subject: Re: randomize()
On Friday, January 23, 2004, at 03:24PM, Tony Weeg wrote:
does randomize do anything for randRange(),
I'm trying to do LDAP reads/binds to a SunOne Directory Server 5.2 from CFMX6.1 via the CFLDAP tag using SSL.Anyone have any luck getting this to work?I got the cert and used the keytoll to add the cert to the keystore per the MACR tech docs, but it ain't working g. Wroks fine without the SSL
so do you hardcode your min/max at the top of the cfc?
you don't pass them in right?
tony
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:41 AM
To: CF-Talk
Subject: RE: randomize()
excellent christian.
thanks.
tony
-Original
just create a local account called cfuser or something.Add to a group, I have mine in the Users group, this may differ based on your security requirements.Now go to the services MMC thingy , double click the CFMX service to get the properties dialog.This may differ depending on if you are running
I'm using iplanet here, even when I've moved to MX, the webserver doesn't change. Any idea ?
cgi.path_info is returned by the webserver.Are you sure its missing in
CFMX or have you changed the webserver you are testing the application
under -- perhaps to use the built-in CFMX web server?
--
cfobject name=randomGenerator component=randomGenerator
cfoutput
cfloop from = 1 to = 50 index = i
cfinvoke component=randomGenerator method=next
returnvariable=theNumber
#theNumber#BR
/cfloop
/cfoutput
Is what I have, and here are the results, am I doing something
wrong?
3582162
3582162
Nope, but the seed for Random() in Java is most likely the system clock.
Your loop is too fast for it. Sorry I don't have a solution for you, no
doubt someone will.
Ade
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: 26 January 2004 16:20
To: CF-Talk
Subject: random
so cf is looping 5 times per second...on average?
and therefore on the same getTickCount() tick?
tw
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 11:27 AM
To: CF-Talk
Subject: RE: random number cfc
Nope, but the seed for Random() in
ColdFusion MX 6.1 shipped after the JRun 4 Updater 2 release so it is a later build.
The build number for JRun that ships with CFMX 6.1 is 63824
The build number for JRun Updater 2 is 61650
You can always find the build # by going to JRun4/bin and typing jrun -info
[Todays Threads]
[This
have a look at http://java.sun.com/j2se/1.4.2/docs/api/java/util/Random.html
maybe reseed on each iteration?
Doug
-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 11:28 AM
To: CF-Talk
Subject: RE: random number cfc
so cf is looping 5 times
You're missing ## around the cfc instance name inside the cfinvoke tag.By
leaving this out you're creating a new generator in each loop and it's being
seeded with the same number and producing the same results for several
iterations.This is exactly the problem we were talking about earlier with
sure...this is christians code from his blog...so, I wonder what he thinks?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 11:35 AM
To: CF-Talk
Subject: RE: random number cfc
have a look at
Heck!Thats complicated for :
Randomize(DateFormat(now(),ddmm)TimeFormat(now(),hhmmss));
NewNumber = RandRange(1,);
Any particular reason???
Stephen
Tony Weeg wrote:
cfobject name=randomGenerator component=randomGenerator
cfoutput
cfloop from = 1 to = 50 index = i
cfinvoke
mike tangorre whipped this up, and this returns niceness, no dupes.
good stuff tango
cfset session.objRandomGenerator =
CreateObject(component,randomGenerator) /
cfoutput
cfloop from = 1 to = 50 index = i
#session.objRandomGenerator.next()# BR
/cfloop
/cfoutput
-Original
They should be passed in.The hardcoded zeros are defaults which
actually result in the next() function returning any number within the
range of an integer.The component is meant to be used like this:
cfset rng = createObject(component, com.macromedia.util.Random)/
cfset rng.setBounds(1, 52)/
On Monday, January 26, 2004, at 02:32AM, Emmet McGovern wrote:
Anyone know of a simple way to keep track of the total amount of time a
user is logged into an application for?
Two ideas.One is to explore
javax.servlet.http.HttpSessionBindingListener.
HttpSessionBindingListener is an interface
It should be there, I have been using cgi.path_info in a lot of my CF applications.What webserver are you using?
Brandon
Hi,
I've just found out that cgi.path_info return empty string in MX,
whereas it works in CF5. I've the application just migrated to MX and
I don't want to change all the
Jim:
What you may need to do to make sure that each of your applications use
different/unique cookie values is to modify your Application.cfm files to
include the following code after the CFAPPLICATION tag:
CFIF IsDefined(COOKIE.CFID) AND IsDefined(COOKIE.CFTOKEN)
CFCOOKIE NAME=CFID
Thanks.
I found a utility that does search and replace on a lot of files.. took
about 5 minutes and everything went out.
Just file this as another gotcha in case you ever have to change IP
addresses!
Al
Either you can grep the files and replace the address of the smtp server
[Todays Threads]
How to use Eclipse for CF coding? How to download it? How to install it?
Thanx
--
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User
Because passing a seed that is only accurate to the second will cause
duplicate numbers in a high volume site.
Read this thread:
http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesforumid=4th
readid=30056
HTH,
Sam
---
Blog:
I am trying to deploy CFMX(6.1) on top of a JRun installation andI
am having a hard time setting up oci drivers for the CFMX(6.1).I
have successfully set up OCI drivers for a standalone CFMX(6.0)
installation, but can not seem to get them working when deployed on
top of a JRun installation.
Thanks for the tip.The second one was much easier for a guestimate,
which is all this app needs since theres no pages that a person would
spend more than a minute on.It only took 3 days for my client to
realize no matter how many times they told their employees to log out
that they never would.I'm
Because passing a seed that is only accurate to the second will cause
duplicate numbers in a high volume site.
Hell that'd have to one seriously busy website!That's like
hits per second (or millisecond if you don't seed Randomize()) website!
Well no thats not strictly true. It is
With the code you posted, you only need 2 hits in the same second to get
repeat numbers.That's not all that busy.
We're not talking about truly random numbers, just small simple measures to
take over the built in functions to avoid immediate repeats.
Sam
If you are using eclipse 2 go to http://cfeclipse.rohanclan.com
if you are using eclipse 3 you'll have to wait till the source forge
site is up.
On Mon, 2004-01-26 at 08:58, [EMAIL PROTECTED] wrote:
How to use Eclipse for CF coding? How to download it? How to install it?
Thanx
--
Vale,
Rob
If you've got a DB that supports triggers, add a boolean field to your
person table named 'likesAllFood', and then write a stored proc that'll
reset the personFood table to contain all relationships between any person
with that flag set and ALL foods.Finally, set that stored proc as a
trigger to
I sent this yesterday, but never received a copy, so I'm not sure if it
went out
d
_
From: Katz, Dov B (IT)
Sent: Sunday, January 25, 2004 11:04 PM
To: [EMAIL PROTECTED]; CF-Talk
Subject: RE: How to model all in a many-to-many
I'm coming into this thread kinda late, but why not
Anybody notice that udflib.org is down?
Cutter
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
you mean cflib.org?
-Original Message-
From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 1:16 PM
To: CF-Talk
Subject: udflib.org
Anybody notice that udflib.org is down?
Cutter
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
No one?
Original Message
Subject: OT: SQL2000 Reporting Services
Date: Fri, 23 Jan 2004 15:37:13 -0500
From: Dan O'Keefe [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Organization: TriPoint technologies
To: [EMAIL PROTECTED]
Microsoft is releasing this next week (tomorrow
I signed up for the wbcast and some people here at work are actively looking
into it...
Mike
_
From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 1:26 PM
To: CF-Talk
Subject: [Fwd: OT: SQL2000 Reporting Services]
No one?
Original Message
Hi All,
I have an alphabet list A thru Z which a user can click each letter and
retrieve all company names based on their first letter.Works OK, as
follows:
a href="" B/a
cfquery name=q_product datasource=#REQUEST.dsn1#
SELECT pl_companies.*, LEFT(pl_companies.co_name,1) AS Alpha1
FROM
Yes Tony, that's what I was looking for. Minor brain fart there.
udflib.org does bring up a CF error, so I thought it was the page I was
looking for.
Cutter
Tony Weeg wrote:
you mean cflib.org?
-Original Message-
From: Cutter (CF-Talk) [mailto:[EMAIL PROTECTED]
Sent: Monday,
Hi Mark,
I have a similar setup to yours and for numbers I use 0-9. So I list out the
alphabet A-Z then 0-9.
A year or so ago it was A-Z, other, and all. The numbers fell into the
other category but since we have more and more entries where the number is
the first character to appear in the
Hi
please see this link
http://www.kodefusion.com/category/index.cfm?CategoryID=5
KodeFusion break articles with several pages inside a great recordset... How to do that? How to trim a big article in several small pages, included in DB?
Thanx in advance
--
Are you running 6.1? I think this problem was fixed in one of the Updaters.
Deb
_
From: CK LIM [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 10:16 AM
To: CF-Talk
Subject: Re:cgi.path_info doesn't work in MX ?
I'm using iplanet here, even when I've moved to MX, the webserver
One would think they have multiple entries in the database, with 2
primary keys, article id, and page id.
Dave
-Original Message-
From: Spectrum WebDesign [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 2:10 PM
To: CF-Talk
Subject: How to do that?
Hi
please see
Thanks Mike for responding.I agree the flexibility approach is probably
best.
Thanks, Mark
_
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 2:10 PM
To: CF-Talk
Subject: RE: Returning query results based on number
Hi Mark,
I have a similar setup to
Thanx Dave
maybe regex? Like inserting a, hmmm, nextpage statement and before inserting in DB regex find that statement and break it? Looks for the next statement and save. Looks for... Ugly solution??
Thanx once again...
- Original Message -
From: Dave Sueltenfuss [EMAIL PROTECTED]
please see this link
http://www.kodefusion.com/category/index.cfm?CategoryID=5
KodeFusion break articles with several pages inside a great
recordset... How to do that? How to trim a big article in
several small pages, included in DB?
Thanx in advance
I would think they break it
Or, the tool that they built for the articles allows them to enter page
by page.
Spectrum WebDesign wrote:
Thanx Dave
maybe regex? Like inserting a, hmmm, nextpage statement and before
inserting in DB regex find that statement and break it? Looks for the
next statement and save. Looks
It could be that they are using what I am using to split up my content, i.e.
database functionality DATALENGTH() or READTEXT which allows you to read in
only certain X bytes.
In my database I have like 20 content entries, but I only want to show 25K
per page, so I use the above to split them up
Dan,
cheers for that, I have actually visited that website before my post, there
are only 12 Word articles on there, none touch the subject of inserting page
break as far as I can tell by looking at the subjects.
Another question was
Is it even possible to work with **every** method/property
I suspect they are not doing this.If so then you are guaranteed to muck up your content.for example
page 1 gets cut off at img sr=http://www.fo
and page 2 begins
o.com/images/img.gif p..
my guess is some sort of marker to mark a page end/begin and one row entry of the whole doc or one
Taco Fleur wrote:
Dan,
cheers for that, I have actually visited that website before my post,
there
are only 12 Word articles on there, none touch the subject of
inserting page
break as far as I can tell by looking at the subjects.
Another question was
Is it even possible to work
Taco Fleur wrote:
Another question was
Is it even possible to work with **every** method/property of the word
object in ColdFusion?
This is what I was thinking of:
http://msdn.microsoft.com/library/default.asp?url="">
Dan
[Todays Threads]
[This Message]
[Subscription]
[Fast
of course you have to have something in place that checks for these kind of
problems, where it could cut of the content within HTML markup.
Taco Fleur
Bloghttp://www.tacofleur.com/index/blog/
http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/
0421 851 786
Dan,
I was thinking about a particular one to start with, i.e.
Selection.InsertBreak Type:=wdPageBreak
I have no problem creating any code with the word object in VB syntax, I do
have a problem converting the syntax to CF, which is still my open question:
Is it even possible to work with
Hi All,
Has anyone ever read this book?
Java for ColdFusion Developers
by Eben Hewitt
http://www.amazon.com/exec/obidos/ASIN/0130461806
I'm looking for a book that gives the nuts-n-bolts of using Java from within
ColdFusion, and this one has several good reviews on Amazon.
Thanks,
Mike
Hello Mike,
I have read this book and it is useful in a sense that all code samples
and chapters always gives analogy/relation with ColdFusion. Although if
you really want to learn, I would also recommend Head First Java.
Qasim
-Original Message-
From: Michael Wolfe [mailto:[EMAIL
Or is it too obvious.
The article manager allows the creation of multiple pages for the content to
be displayed, otherwise why would they have the page=xx in the url..
If it was me, I would have a content management system that would allow for
multiple pages for an article. Secondly there is
Java for ColdFusion Developers
by Eben Hewitt
http://www.amazon.com/exec/obidos/ASIN/0130461806
I'm looking for a book that gives the nuts-n-bolts of using Java from
within ColdFusion, and this one has several good reviews on Amazon.
I think it's an excellent book (I wrote one of those
Taco Fleur wrote:
Dan,
I was thinking about a particular one to start with, i.e.
Selection.InsertBreak Type:=wdPageBreak
I have no problem creating any code with the word object in VB syntax,
I do
have a problem converting the syntax to CF, which is still my open
question:
Is it even
Can anyone help me with this:
Original String: fts20030918_001_2359.exe_FBISDocsPending
Desired String: fts20030918_001_2359.exe
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Try running Selection.InsertBreak Type:=wdPageBreak in CF, see what
happens, its valid in VB.
If the object was named objWord, try:
cfscript
objWord = Selection.InsertBreak(wdPageBreak);
/cfscript
|I am assuming you found this page already? Did you post this question on CFCOMET?
If you are _sure_ the string always looks like that, you could simply do:
cfset ds = listDeleteAt(os, listLen(os, _), _)
where os = original string.
You could also use regex to replace _FBISDocsPending if that part of the
string will always be the same as well.
-Ray
-Original
cfset s =fts20030918_001_2359.exe_FBISDocsPending /
cfset i = findNoCase(.exe, s) /
cfset result = left(s, i + 3) /
-Original Message-
From: David Adams [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 12:06 PM
To: CF-Talk
Subject: GetToken() Quiz
Can anyone help me with
Um
Is this something you need to fix regularly?What are the common
parameters (ie is it always a filename, or always an exe, or always ends
in FBIS)?Is there a reason you need to use GetToken(), or is that
just what you've been trying to use?
In other words, can you clarify the
Hi Massimo,
First, let me say that I'm not a Java newbie... What I'm looking for is a
book that gives specific examples of how to integrate Java in my existing CF
code.
Specifically, I'm working on an app that checks IP addresses against DNSBL
lists. I know that I can do this using a CFX
I've been asked to find out how hard it would be to make some digitally recorded audio and video available for downloading on our site.Does anyone have any suggestions on software, both to get the files ready to download (editing, etc.) and serving software on the webserver.We use IIS, do we need
Other then the generally bad mojo of using a word come object on a web-site/server (even Microsoft says this is a bad and unsupported idea).When I was trying to do it last year, I found CF had a very hard time nesting object layers.An object variable could only access it's immediate methods and
Thanks for the responses.I thought I could do it all with a GetToken() but CFTALK thought differently.Cheers, Dave Adams
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
Hi Ian,
Cheers, I believe that will actually help me out a bit.
I know that you should not use Word on a server etc. It won't be used by any
clients or users, it will just be a solution for myself.
I have a Word document that I maintain, and I want to publish it on the web
at the same time,
If you know your way around Java, then using it within CF is a snap.
Basically, it's all exactly the same, except for constructors:
Java:
-
Socket s = new Socket(10.10.1.1, 80);
s.close();
ColdFusion (CFSCRIPT):
--
s = createObject(java, java.net.Socket);
I wrote this article for the lastest issue of the CFDJ (January '04):
http://www.sys-con.com/coldfusion/article.cfm?id=698
It's about how you can leverage Java to add free spell checking in your CF applications.It might be something you could benefit from - I show how to create a Java wrapper
1 - 100 of 123 matches
Mail list logo