CF5 - CFLOCK issue
Hi,
I have this code that is called as CF TAG from a number of
pages. It is doing a CFLOCK before performing a Write-Append to my
log file.
however, I do get error messages in the CF Application log
such as this:
"Error","344","01/26/09","14:45:49",,"130.201.18.6,
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR
1.1.4322; .NET CLR 2.0.50727), Error processing CFFILE<P>
Error attempting to write data to target file
'D:\BillImage\LOG\L260109.log'.<P> Error: There was a sharing
violation.<p>The error occurred while processing an element
with a general identifier of (CFFILE), occupying document position
(14:2) to (15:78).</p><P><P>Date/Time: 01/26/09
14:45:49<BR>Browser: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR
2.0.50727)<BR>Remote Address: 130.201.18.6<BR>Query
String: type=5&ivalue=211840236<P>"
and another one:
"Error","296","01/26/09","14:45:50",,"130.201.120.12,
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR
1.1.4322; .NET CLR 2.0.50727), Error processing CFFILE<P>
Error attempting to write data to target file
'D:\BillImage\LOG\L260109.log'.<P> Error: There was a sharing
violation.<p>The error occurred while processing an element
with a general identifier of (CFFILE), occupying document position
(14:2) to (15:78).</p><p>The error occurred while
processing an element with a general identifier of (CFRETHROW),
occupying document position (222:2) to
(222:12).</p><P><P>Date/Time: 01/26/09
14:45:50<BR>Browser: Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR
2.0.50727)<BR>Remote Address: 130.201.120.12<BR>Query
String: type=5&ivalue=239141077<P>"
d: is local drive.
could the problem be very slow network that caused 30 seconds
not to be enough and since throwontimeout="no" no error was
handled?
Similar Messages
-
UTF issue when moving from cf5 to cfmx7
It's been long overdue so am moving from CF5 to cfmx7 on my hosting account.
The issue is that my hosting account has disabled cfcontent.
I am getting gibberish outputting utf data from my database. It works fine on cf5 but on cfmx7 I read someplace that you have to use cfcontent to output utf-8 correctly.
Is there any work around without having to use cfcontent?
I tried using cfprocessingdirective and cfheader tags to show utf but it didn't work. Any pointers or suggestions appreciated.
Best Regards
Sanmanok, since it's "N" you should be good to go with transferring the data (it's
actually pretty simple). in cf5, write a page that does a simple query against
the table(s) containing your data, i guess just select TOP 100 or so rows with
the PK & the nText columns. simply output that query using a delimiter that you
can parse easily (commas between columns & quotes for the nText would be my
default choices). have a look at the output to make sure it's readable. if all's
well, on the cf7 (or whatever) box do a cfhttp call to that cf5 page & dump out
the cfhttp.fileContent or result if you use that. if it's still readable, then
you can do the real xfer by:
- backing up the original table
- double checking that the backup is ok
- triple checking that the backup is ok
- adding another table w/just PK & nText columns
- filling that with the properly encoded data
- then do a join UPDATE against the old table -
CFLock, Read-Only Issues
I am trying to make edits to a previously read-only page. I
have added some queries and when I run the page, the queries are
not run. I have put the queries in a try/catch block and again, not
run. I have even put in random test (i.e. 'asdfasdf') hoping to see
it when I run the page; nothing. Maybe the page is cached or
something? I restarted CF services, but that still didn't help.
It's CF4.5, so maybe there are page caching issues?
Sorry for all the code, but the things I added are the
'asdfasdfasdf' after the InsertConsultant query, and I also added
the get_event_type query and catch try block. Thanks for any
help!are there still people using cf4.5? man give me some poison
now please! I think cf5 should be banned and if you are still using
4.5 then you probably live in Darfur or something and I would
recommend php as it is free and facebook uses it so it must be
alright!! (hint hint adobe sort it out and make it free you are
leaving us developers out to dry here!!) -
Cflock session - named or not?
I juts went through a bunch of apps and cflocked the heck out
of lots of session variables being set. This greatly improved my
server problems. However, I locked these all with a Name and not
the Scope
Now my server is getting quirky again and I want to see if
this is my issue.
I ahve read contradictory thinsg online about whether a
session variable should be set as scope="session" or given a unique
name.
So which is best?> Well... *precisely*. You're demonstrating *my* point, not
yours.
> You cited this example:
> <cflock scope="SESSION" timeout="3"
type="READONLY">
> <cfset session.clientBalance = session.clientBalance
- 99.50>
> </cflock>
No need to waste time there. I corrected it two days ago.
> There is no need to lock this. CF code is automatically
locked @ statement
> level, so that ONE line of code cannot be
*simultaneously* accessed by two
> threads.
> What Might happen in CF5 is that two threads could hit
that line of code at
> exactly the same time, and increment the SAME
session.clientBalance value
> twice (meaning one increment is lost). That's bad. And
accordingly you
> needed to lock the code so each thread would hit the
code in turn.
> However this cannot happen in CFMX. Java forces one of
the threads to wait
> until the other finishes, and THEN the second thread
runs that statement
> (so two increments, one for each thread: correct).
> Basically, the session scope is "synchronised" at a Java
level: each
> operation on the session scope is queued, so it's
impossible for two
> operations to take place at once. Hence not needing to
lock individual
> CF statements.
I suppose what you mean is that, since version MX, Coldfusion
is thread-safe. Two threads will therefore not modify a variable at
the same time. As I said before, that is not an exact science.
Thread-safety is complicated by technical matters as atomicity and
reentrancy. Note in particular that <cfset session.clientBalance
= session.clientBalance - 99.50> is a recursive statement.
> The crux of this is that telling someone they need to lock
a single <cfset>
> because it deals with the session scope is outright
wrong, post-CF5.
This
MX7
livedocs on locking explains how and why to lock a single
cfset. -
Problem with application-variables - CFLOCK?
Hi,
i have a problem with my application. It is a multi-user
application with 100 parallel-users and CFMX 7.
The problem wich occures is with application variables. These
are mainly structs wich get filled onApplicationStart(). The
problem is, that the variables suddenly disappear, they are empty.
I have read about CFLock and found out, that it is necesseary
to use cflock. And i found out, that onApplicationStart does
correct locking automatically. That is where i do not understand
the problem. The variables get intialized correctly and in further
they only get read-access. Why can they be corrupted?
My other question about that is, wheather i need cflock for
all Read-Access to Application and Session-Variables, even if there
happens no writing to the variables?
Best Regards,
Andreas> ?The element of position 2, of dimension 2, of an array
object used as part of
> an expression, cannot be found.?
> The array is in this case the struct.
Well, OK, that could be a problem. Arrays are not structs:
they are two
different things, are not interchangeable, and have
completely different
sets of functions to utilise them. You cannot treat a struct
as an array.
If CF is claiming your "struct" is an array, then it actually
*is* an
array, not a struct.
What's the line of code which is generating that error?
I suppose one could get this error if you have an array of
structs thus:
myArray
.key1
myArray.key2
(etc)
and you're trying to reference it with a numeric key rather
than by key
name, eg:
myArray
[n]
When n is an integer value, rather than a string (which
corresponds to the
name of the key).
> > Have you trapped the error, done a <cfdump>
of the application scope and
> > checked to see if it's the whole lot going awry, or
just some values?
> I have not used cfdump for it, because the server had to
be immediately
> restarted for our customers. But i think, that it is
not completely empty,
> because the index runs to pos2 of dimenstion2.
So does this not happen in your dev / testing environment?
> Will
> onApplicationStart() be called before? Or only if
onRequestStart() returns true?
I would ***-u-me that the application one would be called
before the
request one. It's pretty easy for you to test this though, I
should think?
(Sorry: for reasons beyond the scope of this conversation,
we're still
forced to use Application.cfm in our software, so I've only a
passing
knowledge of how Application.cfc works).
> Here is the code from onRequestStart()
> <cffunction name="onRequestStart"
returntype="boolean">
> <cfargument name="Requestedpage" required="yes" />
> <cfscript>
> var lFile = "/cargorent/Login.cfm";
> var iPosn = ListFindNoCase( lFile,
Arguments.Requestedpage );
> if( iPosn gt 0 )
> return true;
>
> if( NOT IsDefined( "session.user.Loginname" ) or
session.user.Loginname eq
> "" )
> {
> WriteOutput( "<p><p> The current user is no
longer valid, please log in
> again.</p></p>" & chr(10) & chr(13)
> WriteOutput( "<script
language=""javascript"">parent.location = ""
http://"
> & CGI.HTTP_HOST &
"/Login/Login.cfm"";</script>" );
> return false;
> }
>
> return true;
> </cfscript>
> </cffunction>
One thing I will say here is that I really think you should
be separating
your processing from your display. A function should do
processing. it
should pass that processing back to a CFM template which
should handle
whatever needs to be displayed on the browser. Although
that's nowt to do
with your current issue.
Adam -
This CFHTTP works under CF5 but not CF7
Hi,
Can some one explains to me why this code works under CF5,
the page is returned in fileContent, but under CF7, the fileContent
only contains "connection failure", although the status is reported
as "200 OK".
Also, i'd appreciate if someone could test it under CF8 and
tell mes if the page is returned.
Thanks.Hi everyone, I’m experiencing a similar prob but find
that your suggested solutions don’t seem to work for me.
On my remoteserever (CF7.02). it returns 408 Request Time-out
no matter what I do. It just never connects. When submitted from my
local server (cf8 developer) I get connected everytime. I have a
friend with the same host (on a different server) and he has no
probs cfttp’ing to this url with the same code.
<cfhttp
url="
http://api.clickatell.com/http/sendmsg"
resolveurl="false"
timeout="5"
method="post"
>
<cfhttpparam type="formfield" name="api_id"
value="9999999">
<cfhttpparam type="formfield" name="user"
value="aaaaaaa">
<cfhttpparam type="formfield" name="password"
value="xxxxxx">
<cfhttpparam type="formfield" name="from"
value="61400000000">
<cfhttpparam type="formfield" name="to"
value="27999100000">
</cfhttp>
I’m not sure if it’s a compression issue or not.
I tried
<cfhttp
url="
http://api.clickatell.com/http/sendmsg"
resolveurl="false"
timeout="5"
method="post"
>
<cfhttpparam type="Header" name="Accept-Encoding"
value="deflate;q=0">
<cfhttpparam type="Header" name="TE"
value="deflate;q=0">
<cfhttpparam type="formfield" name="api_id"
value="9999999">
<cfhttpparam type="formfield" name="user"
value="aaaaaaa">
<cfhttpparam type="formfield" name="password"
value="xxxxxx">
<cfhttpparam type="formfield" name="from"
value="61400000000">
<cfhttpparam type="formfield" name="to"
value="27999100000">
</cfhttp>
AND
<cfhttp
url="
http://api.clickatell.com/http/sendmsg"
resolveurl="false"
timeout="5"
method="post"
>
<cfhttpparam type="header" name="Accept-Encoding"
value="*" />
<cfhttpparam type="Header" name="TE"
value="deflate;q=0">
<cfhttpparam type="formfield" name="api_id"
value="9999999">
<cfhttpparam type="formfield" name="user"
value="aaaaaaa">
<cfhttpparam type="formfield" name="password"
value="xxxxxx">
<cfhttpparam type="formfield" name="from"
value="61400000000">
<cfhttpparam type="formfield" name="to"
value="27999100000">
</cfhttp>
As per
http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729/
and
your suggestions only to note that none of these suggestions
permitted a successful connection from my remote host. They all
connect immediately from my local host.
I also noted Dan’s quote:
“After some more testing, it appears CFMX 7 reports the
user agent string of "CFSCHEDULE" and not "ColdFusion". This means
you should also add the "CFSCHEDULE" string along with the string
"ColdFusion" to your MIME type exceptions list. “
From:
http://blog.pengoworks.com/index.cfm/2006/3/13/CFHTTP-Connection-Failures-issues-with-Gzip
I’m not sure of the syntax to do this or if the GZIP
stuff is even relevant to my server. (Yep, I’m with Godaddy)
Anyone??? -
I keep on getting the below error from the last week.
Timed out while waiting to obtain exclusive access<P>
<p>The error occurred while processing an element with a
general identifier of (CFLOCK), occupying document position (8:1)
to (8:82) in the template file.
I checked the CF server and DB server administrators. But
they said that they did not find any issues with the servers. till
before last it was working fine. but from the last this is
happening. Its impacting for so many users.
what will be the reason?Hi
All of my cflocks are getting the same issue.
before last week, it was working fine. only from the last we
were getting this issue.
Ex:
"Information","29","02/18/08","05:21:51",,"A long-running
request returned. The unresponsive thread count is down to 0.
[/createorder.cfm]."
"Warning","29","02/18/08","05:21:51",,"Template:
/createorder.cfm, Ran: 1009 seconds." -
CFMail Attachment Issue (410 character limit)
My company is in the process of upgrading from CF5 to CFMX7
(v7.0.2). While testing the new version our test environment, I've
discovered an issue (that didn't exist in CF5) regarding email
attachments. I've scoured the internet looking for users who might
have run into this issue and haven't found any.
Here's the problem that shows up when using CFMX7. Emails
that have attached files that have lines of code that are longer
than 410 characters per line have the lines broken apart with a
newline character.
So for example if code in a file originally looked like this,
<font face='courier new' size=-2>
 LIFE MED (line
continues out to over 600 chacters)...
</font>
The received file would have code that looked like this,
<font face='courier new' size=-2>
 LIFE MED (line
continues out to just 410 chacters, then breaks to a new line)...
bsp;  LIFE
</font>
Notice that the non-breaking space characters starting the
second line have been chopped off.
This causes an issue because the files we are attaching to
the emails are bills (formatted in html) that uses a lot of
non-breaking space ( ) characters for formatting purposes.
Most of the lines of code are greater then 410 characters wide, and
once the the characters start to get broken apart, they
end up displaying in a browser.
Things I've tried that haven't helped.
1) Changing the Default CFMail Charset from UTF-8 to US-ASCII
2) Using the cfmailparam tag instead of the mimeattach
attribute
3) Applied hot fix hf702-65414 (which was for an issue
regarding email spooling)
Does anyone know how I would prevent the line break issue in
CFMX7?
I figured I'd ask around in a few newsgroups before we
started spending money on support from Adobe.
Thanks,
Wayne BarcaIf the attached file doesn't have to be interactive, how
making it a PDF? -
Developers,
I'm using CFMX 7 with iText. I have a form in which users can
select multiple pdf documents via checkboxes. After selecting a
number of checkboxes, they can either immediately hit the Submit
button to merge (using iText) all selected documents, or from a
dropdown box, select an image to be applied to the top of each
document, and then hit Submit, which will merge the documents
first, then apply the image to each page of the merged documents.
(reference this post for additional information:
iText
Watermark position issue)
The merging and watermarks work great; however the problem
I'm having now is what appears to be file corruption. Every now and
again, when a user selects the documents and an image, the page
processes, but returns a previously merged document with a previous
image applied. Looking at merged file on the server confirms that
the file is corrupt and sometimes I am able to delete the file and
then future selections merge correctly.
So I figured I could apply cflock - as this must be a race
condition issue - to prevent the corruption. However, I don't think
I fully understand it as it does not appear to be working. I have
some documentation where you are supposed to name the locks the
same and other documentation states to name one readonly and the
other exclusive.
Attached is my code below. Can someone please look and give
advice as how to proceed? Also, I can include the code from
mergeOnly.cfm and mergeWatermark.cfm if necessary.
Thanks.Also, if you are replacing an _existing_ file, you might
consider using a temporary file, to avoid locking the entire call.
Then at the end, replace the existing file with the temporary one,
and delete the temp file.
Here is a good link on locking file renames:
http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:49321#263456 -
Hello there, I have two questions...
In numerous examples of site security, I've noticed the CFlock tag used. Hwoever, when looking at CF9 documentation, in a specific example of site security that includes user roles (using an application.cfc file) there is no mention of CFLocks. Are they necessary to authenticate users or not? I can't see why they would be. The variable being changed is the users status (authenticated or not) and since it is in the session scope, it is already unique, right? So why bother with CFLock?
Second, how can I redirect a person to the same page they where on after submitting a form? I have a news letter form present on all pages of the website, and I would like the person to return to teh same page they where on when they submitted the form.@Mel.Husseini
So why bother with CFLock?
@Ian Skinner
In pre-mx days, i.e. ColdFusion 4.5, ColdFusion suffered from a bad memory leak with shared memory variables like session. One of the popular work arounds was to <cflock...> all reads and writes to these variables. That has long been unnecessary, but there is still tons of old code examples and old developers that continue to utilze this work around.
Those are issues that are resolved by the fact that Coldfusion is now a thread-safe Java application. However, there are other uses for cflock.
Here are some examples. A web shop application may store the shopping cart in session scope. A session lock would then be necessary, for example, to prevent the customer from adding an item while his order is proceeding to checkout. You need a named lock to ensure that one user completely uploads or writes to a file, before another can read it.
@Mel.Husseini
Second, how can I redirect a person to the same page they where on after submitting a form? I have a news letter form present on all pages of the website, and I would like the person to return to teh same page they where on when they submitted the form.
There are CGI variables and Coldfusion functions that give the value of the current page. Coldfusion also passes the current page as an argument in the onRequestStart event of Application.cfc. Put the value in a hidden field in the form. Then, on the action page, use cflocation to redirect to it. -
We're upgrading a bunch of apps from CF5 to CF7. We've run
into an issue with cfwddx that results in times coming across with
one hour subtracted - this didn't happen with CF5. Basically I'm
packetizing query results with an action CFML2JS. If I just dump
that packet via something like alert(mypacket.value) I can see that
the date is intact. However, if I break it down via WDDX2CFML then
run a cfquery against it, the datetime fields are all coming back
one hour short, i.e. 10 PM instead of 11 PM. I'm suspecting I need
to manipulate the usetimezoneinfo property of the serializer
object, but I'm not sure how to do that - at any rate, is this a
known problem with CF7? Any suggestions at all on how to get around
this would be greatly appreciated!
Regards,
Al
P.S. I'll be happy to post code if that's required.Very same thing here. Iphone 5C on 7.0.2 from tmobile in NC.
time is frozen when auto lock is engage. Both manual and automatic settings failed to help.
Tried the LTE trick, tried the reset network trick... -
Anyone else have this issue when trying to use cfsearch
against a
collection? If so, was there a fix? We installed the search
server when we
installed CF8 as a package install.
Message Unable to connect to the ColdFusion Search service.
Detail On Windows, you may need to start the ColdFusion
Search Server from
the services control panel.
On Unix, you may need to run the search startup script in the
ColdFusion bin
directory.
Error: java.io.IOException: unable to obtain from connection
pool: cannot
make connection to server at: k2://localhost:9951
I restarted the search server about 10 times and even tried
the uninstall
and install bat files. Nothing seems to work. ThanksThanks for the suggestion. I tried just re-installing the CF8
Search server, but it still didn't work so I uninstalled it and
then reinstalled it. After that I was able to create the new
collections and finally, re-index the new collections. All seems
well for now. I have four more systems to recreate the collections
for and then re-index all of them.
This whole thing begs the questions:
1. How long is this installation going to survive?
2. Is this an indication of a very fragile product?
3. Are you and I the only ones having problems?
4. Are you and I the only ones using CF8 Verity?
5. Is Adobe aware of any problems with CF8 Verity?
6. Is there something wrong with my code that has worked
successfully with CF4, CF5 & CF6 now that I'm using CF8?
I’m sure there are other questions that should be asked
but I’m too tired and hungry to think about them right now.
Thanks again for your insight.
Len -
Component in Application Scope and cflock
Hi,
I have an CFC that I set in application scope in the
onApplicationStart method which contains some system parameters,
one of which is a flag saying whether the site is currently
"Online". I call a method on this CFC in the Application.cfc
"onRequest" method to see if the flag value has changed.
This method looks up a parameter set in the database that
says whether the site is "online" or "offline". If the site is
currently online, I want to only redo the query every 5 mins.
However if the site is offline, I want to check more frequently
(every 5 secs) as to whether the flag has changed back.
What I am not sure of, is whether I need to be using
<cflock> when I change from "online" to "offline"? There is
only a single instance of this object, but what happens if multiple
requests are calling the "isSiteOnline" method simultaneously? Is
this "safe"?
Some code snippets are attached to illustrate.
Any advice would be greatly appreciated.
Regards,
Andrew.> <!--- DO I NEED TO USE CFLOCK HERE???? --->
No, in either situation.
Ask yourself... what would the ramifications be of two
requests hitting
that line of code "simultaneously"? The end result is that
both of them
are setting the variable to the same static value... so
that's what's going
to end up happening: variables.instance.cacheInterval is
going to be set to
300 (or 5) in each situation.
You could well with to lock a block of code which - if called
simultaneously via more than one request - could act on
shared storage
space (server, application or session data) differently and
incorrectly
than is intended.
eg:
<!--- application bootstrap process --->
<cfif not structKeyExists(application, isInitialised and
not
application.isInitialised>
<!--- initialisation process, whatever it is --->
<cfif allOK>
<cfset application.isInitialised = true>
<cfelse>
<cfset application.isInitialised = false>
</cfif>
</cfif>
So a sequence of events could be (say the user is hitting the
site with two
different browsers):
REQUEST1: application.isInitialised doesn't exist
REQUEST1: starts the init process
REQUEST2: application.isInitialised STILL doesn't exist
REQUEST2: starts the init process *again*
REQUEST1: sets the application.isInitialised value
REQUEST2: sets the application.isInitialised value
Obviously one does not want two request running the
initialisation code.
note this is a slightly contrived example, as if one has an
OnApplicationStart() method, then it will only run once, and
that's where
one would have the init code, but it demonstrates the issue.
Google "race condition". Those are the situations in which
one needs to
lock blocks of code.
Adam -
OO/Framework, Uploading Images Issue
I am using using a form that uploads a file. If I use a self
calling form
that
reinitializes the form values from the bean cfc, my field
contatining the
image no longer recognizes it as an image and the
cffile fails.
<cfif isdefined('form.staffid')>
<cfoutput> in isdefined staff </cfoutput>
<cfset staffmember = createobject('component',
'datafoo.cfc.staff').init(form)>
<!--- check for errors before saving --->
<cflock name="photolock" timeout="30">
<cffile action= "upload"
filefield='staffmember.filetoupload'
destination="#expandpath(arguments.directory)##staffmember.filename#"
nameconflict="makeunique">
</cflock
</cfif>
I get the error: The form field staffmember.filetoupload did
not contain a
file.
However, if I take that form and instead of recreating the
instance from the
bean.init,
just run the upload using the form variable, the image gets
uploaded fine
<cfif isdefined('form.staffid')>
<cfoutput> in isdefined staff </cfoutput>
<!--- IGNORE <cfset staffmember =
createobject('component',
'datafoo.cfc.staff').init(form)> --->
<!--- check for errors before saving --->
<cflock name="photolock" timeout="30">
<cffile action= "upload"
filefield='file.filetoupload' <!--- *** use form var here
works --->
destination="#expandpath(arguments.directory)##form.filename#"
nameconflict="makeunique">
</cflock
</cfif>
Any suggestions?
In the bean init I have
<cfcomponent >
<cfproperty name="filetoupload" type="string"
default="">
<cfscript>
//Initialize the CFC with the default properties values.
this.filetoupload='';
</cfscript>
<cffunction name="init" output="false"
returntype="staff">
<cfargument name="stValues" required="no"
type="struct">
<cfif isdefined('arguments.stValues')>
<cfset this.filetoupload =
arguments.stValues.filetoupload>
<cfreturn this>
</cffunction>
</component>
Any suggestions?
Tami Burke
Honey House Web DesignsYep, got that too. This is an old application that I am
rewriting during a
'facelift' project so the forms
all exist and work.
I am using the Beans/Dao/Gateway that is originally created
in CFEclipse and
customizing to manage
validation other custom issues.
The bean sets the original variable using cfproperty tag
<cfproperty name='filenamehere' type='string'
default=''>
Then in the init( obj ) function, the form structure is
passed into the init
function (as obj structure) and the
this.filenamehere variable is loaded from the form.
<cfscript>
this.filenamehere =...;
</cfscript>
This is where I have attempted putting the form variable
containing the
file. I have tried it as
this.filenamehere = obj.filenamehere; <-- no good
this.filenamehere = '#obj.filenamehere#'; <-- no good
this.filenamehere='obj.filenamehere' <-- no good
<sigh>
Tami
"Daverms" <[email protected]> wrote in
message
news:gnu295$q52$[email protected]..
| Hi Tami,
|
| Please check your <form> tag and make sure it has the
enctype attribute
set to,
|
| "enctype= "multipart/form-data"
|
| HTH -
CFMAIL SMTP authentication with CF5
I need to use CFMAIL to send email notifications via an
exchange server. The issue: the server is running CF 5 and the
exchange server requires SMTP authentication. As you may all know,
there's no way to pass a username and password in CF5.
So my question is, is there a module available for CF5 that
will achieve similar results.
Sadly I can't upgrade to CF MX 6, 7 or 8.It's been quite a while since I worked with CF 5, but you can
try setting up the mail server address like this:
username:[email protected]
On a side note, is there any reason why you (or the client)
are not considering an upgrade? I mean, I think HTTP 1.1 was still
the standard when 5 was released - it's about 40 "
technology years" old now. *just wondering*
Maybe you are looking for
-
Error BRAIN 276 when you execute a Web template in BI Admin Cockpit in EP
Hi Experts, I have Installed BI Administration Business Packages in Portal and configured necessary steps in BI System.I have assigned the role in Portal and BI System. I tried executing one iview...and was getting the following error: Error loading
-
How can I "Copy" the description from iPhotos?
I am trying to get descriptions from iPhoto files into Family Tree Maker Mac2. It seems that FTM doesn't import that info with the .jpg file, but that is a separate issue. When I try to Copy the Description from the Info for a photo, I get strange
-
Itunes wont work after downloading mac os x lion
After I downloaded Mac OS X lion/10.7 and iTunes 10.4 iTunes wont open it pops up a window saying check with developer to make sure this version of Mac OS X supports iTunes. please help
-
Trackpad + Typing Problem
Recently my Macbook has begun acting up a little bit. At random times when I'm dragging the cursor across the screen, it will start highlighting text, clicking buttons, opening things from the dock, etc. Without even clicking the trackpad button, it
-
Error with underscore in InternetAddress parse with strict = false
Hi all, I run the following code (using javamail version 1.4.3): public static void main(String[] args) throws Throwable { InternetAddress.parse("ab@c_d.pt", false); }And I got the following exception: Exception in thread "main" java