Just after OnRequestEnd.cfm runs... i.e. immediately post request. Try this code:
application.cfm --------------- <cfapplication name="test0610" sessionmanagement="no" clientmanagement="Yes" applicationtimeout="#CreateTimeSpan(0,0,30,0)#"> <ol> <li><cfoutput>#client.lastvisit#</cfoutput> index.cfm: ---------- <li><cfoutput>#client.lastvisit#</cfoutput> OnRequestEnd.cfm: ----------------- <li><cfoutput>#client.lastvisit#</cfoutput> </ul> <cfoutput>#createODBCDateTime(now())#</cfoutput> You'll get all the same (old) values in client.lastvisit, the current time in the now value and the now value will be shown in lastvisit on your refresh. ------------------------------------------- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com ------------------------------------------- ---------- Original Message ---------------------------------- From: jon hall <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Mon, 30 Jun 2003 16:43:00 -0400 >Sorry, my question was worded badly...knew it was as soon as I sent >it. >What I'm after is, when does it actually get committed to the disk? > >-- > jon > mailto:[EMAIL PROTECTED] > >Monday, June 30, 2003, 4:31:45 PM, you wrote: >MR> Immediately. I can set a cvar on Line 1 and use it in code starting on Line 2. > >MR> It may not be committed to disk right then and there, but you can use it >immediately. > >MR> The only exception to this I found was a bug in CFMX (initial release... haven't >tried it recently), where if a cvar was set on a template, and that template had an >iframe then the cvar was not >MR> available in the iframe unless you refreshed it (after the error was thrown). >The same operation runs fine in CF 4.5. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

