Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ken_s #1
Execute code on session end
I would like to pop up a message to the user when the session is about to time out. And if they don?t respond I would like to update a database just before the session ends.
ken_s Guest
-
error, mapping htm files execute cfm code
Hello, I followed this technote to configure the web server so he can execute coldfusion code in htm files :... -
Execute code on page load
I can code that I want to execute on page load (code includes asp insert data into tables) DWMX behaviours insert on submit. Can anyone put me on... -
User control code behind does not execute
Anybody have any ideas as to why my user control code will not execute the server side code? I converted an .aspx page to an .ascx user control. ... -
execute javascript from php code
How can I execute a javascript file(test.js) from within PHP. I'm running oscommerce and want to insert a menu created in javascript by Sothink... -
How can I execute code stored in variable
> Something like ***execute()***, but instead of executing shell oops! By execute() I meant exec() or passthru(). It was very late when I... -
ajpowellatl #2
Re: Execute code on session end
You could notify the client that the session is about to end via javascript,
but there is not a way in 6.1 to execute code when a session ends. This
changes in 7 with application.cfc and the onSessionEnd function. HTH.
ajpowellatl Guest
-
Mike Greider #3
Re: Execute code on session end
Definately sounds like some active code to accomplish this, since ColdFusion
wouldn't know about the user timing out until the page was submitted back to
the server. And by then, it's too late. A solution I have seen is some
javascript code that popped a little window when the user was approaching a
timeout. If the user responded, then the window would repost to itself (and
update the session time) then close itself. The older origional browser window
was untouched.
Mike Greider Guest



Reply With Quote

