danarashad 17 Light Poster

Is there a way to change the color of Student Name to red.

<script language="JavaScript">
 <!--
 function delStudent#StudentID#()
 {
if(confirm("Do you really want to delete Student Name?"))
 {location="index.cfm?act2=5&id=#StudentID#&sec=#sec#";}
}
// -->
</script>
danarashad 17 Light Poster

Move your insert statement below the file upload section.
Then insert file.ServerFile as the name.

danarashad 17 Light Poster

I would suggest a reinstall. I've never had that problem.

danarashad 17 Light Poster

Hello I am trying to use the cfgrid flash format to create an editable grid. But I have no clue as what to do next. Here's the code I have.
It does allow me to type into the grid but I don't know the save part. In the action page, do I put update code. Please advise.

<cfform format="flash" action="test.cfm" name="gridtest" height="600" skin="HALOSILVER">
<cfgrid name="GridTeachers" selectmode="edit" query="getUsers" insert="yes" delete="yes" width="500">
	<cfgridcolumn name="FirstName" header="First Name">
	<cfgridcolumn name="LastName" header="Last Name">    
</cfgrid>
</cfform>
danarashad 17 Light Poster

I tested your site in Safari and it comes up great.

danarashad 17 Light Poster

One of my app's is timing users out around 20 minutes. I have a sessiontimeout set at 90 minutes.
Please help.
Here's the actual code.

<CFAPPLICATION NAME="Store" SESSIONMANAGEMENT="Yes" SETCLIENTCOOKIES="YES" clientmanagement="yes" 
sessionTimeout = #CreateTimeSpan(0, 0, 90, 0)#>

I am using CF 5.
I did notice in CF admin I have the maximum session timeout set at 20 minutes. And the default timeout for session Variables is set at 20 minutes.
Now I have it like that on other servers; and they work. But I do have a count down timer set in a CSM.
Thanks for any help

danarashad 17 Light Poster

I am new to Ajax, as a matter of fact I know nothing about ajax. I was wondering if there was a way to auto refresh a page, after a certain time length. Sort of like what those fantasy football pages do. Where it refreshes but the user never notices.

Thanks

danarashad 17 Light Poster

thanks i've got it fixed, i just used the now() function

danarashad 17 Light Poster

Please help I have been trying to insert a timestamp field into a DB. But to no avail.
Here's my code.
I am using a hidden field.
<input type="hidden" value="<? echo date("m-j-y g:i:s A"); ?>" name="time" />

Then on my action page, I do the following.
$stime=$_POST;

then my insert statement looks like.
$sql="INSERT INTO $tbl_name(username, password, level, email,fname,lname,time)VALUES('$uname', '$pword', '$level','$email','$fname','$lname','$stime')";

I can insert without the time, but i need that. And i need it to be passed from a form field.
My DB set up is.
Column name of time. type is timestamp.

When I insert i receive an error. thats all it says.

danarashad 17 Light Poster

Ok i will give that a shot, i have it outputing to a txt file and it says connection failure, but from the administrator it says successful.

danarashad 17 Light Poster

I am trying to setup scheduled tasks using the ColdFusion administrators page. These scheduled tasks send out email notifications. They work when I run them in IE, however not through the scheduled task. When I manually run the scheduled task, I am told it ran successfully, however I do dont recieve the email notifications as I do when I run it through IE. Has anyone seen this before?[/

danarashad 17 Light Poster

I am trying to setup scheduled tasks using the ColdFusion administrators page. These scheduled tasks send out email notifications. They work when I run them in IE, however not through the scheduled task. When I manually run the scheduled task, I am told it ran successfully, however I do dont recieve the email notifications as I do when I run it through IE. Has anyone seen this before?

i have the same problem, did you get this resolved.