You might want to do this: Create a simple structure like,
Request.Constants or some other scope just to remind people not to change
them. Other scopes might include Application (if app specific constant) or
Server (if not clustered or server specific).
-Original Message-
From:
Is there a way to insert a datestamp into a SQL Server DB when the user
closers their browser or goes to a different site?
I am tyring to get a timestamp when the user leaves the site either by
closing the browser down, going to a new site, or a session timing out.
Is this possible?
Michael T.
Michael,
The short answer is No The server can only tracj users on a per request
basis, and since the closing of a browser or the visiting of another site is
not a request to your server, then those stats would not be available. I
track my users for the following areas
browser name
browser
Just to agree that It is true that as long as there is no use of FRAMES,
there is no need of locking session variables. When using frames, the
entire page is rendered at one time which may cause a deadlock if the same
session variable is being reference.
From: Kwang Suh [EMAIL PROTECTED]
A question for those java - Coldfusion experts:
When an object is instantiated with the statement
cfset pointToThisObject=objectName.methodName(),
the 'pointToThisObject' contains only the pointer address to the
instantiated object in memory.
It appears that Coldfusion is not releasing the
I can't claim to be an expert, in fact I've never tried anything like this.
But, from a theoretical standpoint. shouldn't most ( all?) Java objects
have a destructor method? Perhaps you should be running the destructor
method instead of blanking out the pointer.
cfset pointtothisobject =
Gang,
My Cold Fusion log files are getting quite large and I would like to
delete them. Can I just go in via PC Anywhere/Windows Exploder and
delete the contents of those folders, or is there a more elegant
procedure I don't know about.
Thanks, J
[EMAIL PROTECTED]
Is there a way to insert a datestamp into a SQL Server DB when the user
closers their browser or goes to a different site?
I am tyring to get a timestamp when the user leaves the site either by
closing the browser down, going to a new site, or a session timing out.
In the login system I use,
Hello cf-talk,
I need to provide a user with the ability to upload a file via a
browser ala-CFFILE. However, my ISP has cffile disabled.
Some guys at the ISP told me there is a work around by using cfftp.
They tell me I can use CFFTP to upload a file from a form file
statement?
Is
CFFTP gives CFServer the ability to initiate a FTP session with a FTP
service. Unless your clients have a running FTP server this will not work.
If you are running on a box that uses Windows2000 or NT4 Server you might be
able to use the FileSystemObject (using ASP) to handle the upload.
Hello cf-talk, On Sun, 25 Nov 2001, at 11:39:58 you carefully wrote:
GJ CFFTP gives CFServer the ability to initiate a FTP session with a FTP
GJ service. Unless your clients have a running FTP server this will not work.
GJ If you are running on a box that uses Windows2000 or NT4 Server you
Check out
www.code-corner.com
=
Heidi Belal
www.code-corner.com
ICQ# 32127109
A bus stops at a bus station.
A train stops at a train station. On my desk
I have a work station...
~~
Structure your ColdFusion code with Fusebox. Get the
I host several sites at Crystaltech (www.crystaltech.com) with full CFFILE
capabilities. They know how to properly configure advanced security so you
are truly limited to your own webspace and hence you get to use all the tags
most others restrict you from using. You can get CF 5.0 starting
Just to agree that It is true that as long as there is no
use of FRAMES, there is no need of locking session variables.
When using frames, the entire page is rendered at one time
which may cause a deadlock if the same session variable is
being reference.
Unfortunately, again, that
I have an Access db with a field entitled topics. This is a memo field
with a comma separated list of text values, such as attitude, image, change
management, etc.
When I submit a form using a drop down box to pick the word attitude, how
do I set up the query on the results page to loop through
what i do is put cfsetting enablecfoutputonly=Yes at the top of the page
and cfsetting enablecfoutputonly=No
and surround anything you want to output to the page in
cfoutput/cfoutput
-Original Message-
From: Douglas L. Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 22 November 2001
Each field in a properly structured relational database should contain
no more than one value. Fix that and your current problem goes away.
- Original Message -
From: Mark Leder
To: CF-Talk
Sent: Sunday, November 25, 2001 3:24 PM
Subject: Loop a db field
I have an Access
So how do I fix where the list of topics for one record could be 10 topics
or 60 topics or 100? Build 100 field to contain the data?
Mark
-Original Message-
From: Dina Hess [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 25, 2001 5:32 PM
To: CF-Talk
Subject: Re: Loop a db field
Each
you should have 2 tables, one for the records and one for the topics relate
to the records. In
IE table records
recordID (pri key)
records
table recordTopics
topicID(pri key w/ foreign key relationship to your records table)
topics
Doug
- Original Message -
From: Mark Leder [EMAIL
I do have this already, so what you are saying is then loop over a list of
number which are related to the second table, in other words:
SELECT *
FROM t_records, t_topics
WHERE t_records.ID_record = t_topics.ID_topics
Right? Even in this case, I would still have a list of numbers in one field
I do have this already, so what you are saying is then loop
over a list of number which are related to the second table,
in other words:
SELECT *
FROM t_records, t_topics
WHERE t_records.ID_record = t_topics.ID_topics
Right? Even in this case, I would still have a list of
numbers
Hello Jeffry,
Well, I wish there is a destructor method...at least I am not aware of one.
In C++ there is a destructor method because it is not automated; whereas, in
Java the garbage collection is automated.
There must be a way to deal with these hanging and vague pointers to the
objects.
There are no destructors in Java object, when there are no more references
to an object Java's garbage collector will free the memory when it gets
around to it. The garbage collector isn't running constantly, because it
would take too much resources and defeat the purpose. There are a couple
You can ask the JVM nicely to perhaps consider doing some garbage
collection,
which might maybe sorta destroy the object.
There's no guaratees though :)
- Original Message -
From: Kinley Pon [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, November 25, 2001 9:47 AM
Subject:
hi
i have a qn. Previously i was using CF Server 4.0 and all the errors and
information of mails going out are stored in a log file under the folder
Mail/Log. After i installed CF Server 5.0, no log files are created despite
many mails were triggered but they were not captured in the log
there's a tool i used to use to manage the log files. i'm pretty sure this
is it. it's awesome.
http://www.logviewer.com/
- Original Message -
From: Jeffrey R. Pratte [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, November 25, 2001 12:50 PM
Subject: Deleting CFusion
I have looked in all the archives and I cannot find how I would pass an
array from a form to a pop-up window. Has anyone done this?
Bruce
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ:
in the popup window you can refer to the elements in the main window using
js by
opener.document.forms[0].elements
which is a collection of all the form fields.
- Original Message -
From: Bruce Sorge [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, November 25, 2001 9:02 PM
Nothing is ever more elegant than the delete key.
- Original Message -
From: Steve Dworman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, November 25, 2001 8:59 PM
Subject: Re: Deleting CFusion Log records
there's a tool i used to use to manage the log files. i'm
I am JavaScript stupid. My knowledge is just enough to be dangerous. I
suppose that this is the wrong context?
script language=JavaScript type=text/javascript
!--
Function getItems() {
opener.document.forms[0].elements
}
//--
/script
What else goes in this?
- Original Message -
From:
CFQuery
Retrieval of cached query failed
I was under the impression that if a cached query wasn't already loaded,
it would go ahead ond run it from the DB. Is this wrong? I am using
CF4.5
~~
Get the mailserver that powers this list at
There's a good custom tag called CF_BrowserCheck on the Developer's
Exchange that supports many browsers, including Opera and Lynx.
http://devex.allaire.com/developer/gallery/info.cfm?ID=CA34712E-2830-11D4-AA
9700508B94F380method=Full
Peter Tilbrook ([EMAIL PROTECTED])
Macromedia ColdFusion
first off js is case sensitive so use function not Function
also what do you want to do with the values? prepolulate another form or
what.
To loop over the elements collection you would have something like:
var foo = new Array();
for(i=0;iopener.document.forms[0].elements.length;i++){
OK,
I figured out my last problem. I passed the list in the URL rather than
in an array from one window to another. However, I am now having this
issue.
An error occurred while evaluating the expression:
#Evaluate(Item ThisRow)#
Error near line 90, column
Already done that, what I was looking at doing was having a structure
that could not be seen and fill this with data as required, however the
problem that now arises is that if I cfdump var=request I could
potentially see all the available variables. But if someone comes in a
changes the wrong
Actually it is not correct, it might be different now! But I do recall a
non frame site that I worked on a few years ago and would get an error
from time to time with session variables. This may have been fixed or
tidied up a bit since I last used frames, but I can say that frames is
not the only
FYI: It's moved here: http://www.macromedia.com/support/email/wishform/?6213=3
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101
inFusion Mail Server (iMS) - The Intelligent Mail Server
Vote for iMS as the CFDJ Reader's Choice
Hi all,
I'm sure everybody knows the CF tree applet that comes with
CF. That has some limitations - namely it must load the entire tree
structure before displaying, it can't load incrementally, and I've found it
hard to get running under Netscape in the past. Long ago I abandoned
The garbage collector won't destroy the object if there is still a reference
to it, even when you explicitly ask it to run the garbage collector ( via
System.gc() or Runtime.gc() ).
+
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer
How can you get Cold Fusion to process pages with diff. extensions, say for
example like on CFextras their pages end with page.cfx
I'm running Apache on Win 2000 with CF 4.5
Would the change take place in CF or in Apache?
~~
Get the mailserver
Yes, the underlying assumption is that all references to the object would be
removed beforehand.
-Original Message-
From: Pete Freitag [mailto:[EMAIL PROTECTED]]
Sent: November 26, 2001 12:13 AM
To: CF-Talk
Subject: RE: Java and Coldfusion 4.5 using memory
The garbage collector won't
41 matches
Mail list logo