A ColdFusion project is on a computer that was upgraded from Windows 2003 to 2008.
The version of ColdFusion is 8. The project was originally done in version 3 or 4, is frames based, and stores client variables in the registry.
At least 1 user can't see client variables anymore-error like "x...
How do you submit a form from a ColdFusion program to an asp.net program?
When I try, I get an error 404. The programs are in the same directory. Submitting between ColdFusion programs works ok.
Yes, there is a file with that name.
When fn is html, responseText is an error message "the HTTP verb used to access this page is not allowed" and status=405.
Sorry didn't check this earlier.
I think it's set to work with POST since that's what I use with ColdFusion and since in the script above, f(), when req.responseText's value is the name of an image file and content's innerHTML is set to '<img src='+req.responseText+'>', the picture displays. In f(), the html file will show when...
I think it's set to deliver content with POST since on that server I use method POST with ColdFusion and the script above, f(), with img tags around req.responseText, can display a picture with POST.
Trying to put an html file in div tags. It works if I use method get but want post. It also works if the extension of the filename "fn" that goes to f() is cfm instead of html.
What am I doing wrong?
This is the dtry.html that sets up the screen and tries to put dtry1.html (further down) into...
I'm using frames that hold pages with forms.
In those forms, the action and target attributes are set by javascript according to what the user does.
How do you do this without frames?
Trying to get a session variable to timeout by doing this but no luck. The variable testvar doesn't go away.
What am I doing wrong?
In application.cfm
<cfapplication name="test" sessionmanagement="yes" sessiontimeout="#createtimespan(0,0,0,10)#">
<cfparam name="testvar" default="a">
In other...
I have been using frames in a ColdFusion project for years.
A template in one frame brings up a template in the next etc. and users like the way things work.
I'm now very used to target and action attibutes of forms.
We might have a new project coming up that would be similar and people are...
Why does a() stop right clicks but b() doesn't ?
function a(e)
{
if (event.button==2)
{
alert('No right click please.');
return false;
}
}
document.onmousedown=h
function b(e)
{
if (event.button==2)
return false;
}
document.onmousedown=h
We have a lot of programs written in VFP and are being urged to change them to something else because of VFP's future.
We'd rather keep using VFP since changing to something else could take a long time and since things are working.
Is staying with VFP a bad idea ?
If so, what are reasons ?
In 1 frame, I have a timeout function that increments a cookie value by '1' every 10 seconds. If a page is requested in any frame, that cookie value goes to '0'.
If the value goes to '180', all the frames go blank except for one where you can log back in. It works except sometimes the timing...
Can't get cfschedule to work and would be very happy to find out what I'm doing wrong. Want to get trya.cfm to run tryb.cfm every 75 seconds but get no result. Tryb.cfm works when run directly without cfschedule.
THIS IS TRYA.CFM
<html>
<head>
<title>
</title>
</head>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.