whats that website?
looks like it has nothing to do with the Model Glue framework
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com
To
PowerFlasher, the developers of the Eclipse plugin FDT (Flash
Development Tool), are raffling a copy of FDT. The raffle closes 31st
December 2006. All unsuccessful entrants are legible for a 20%
discount off the purchase price. To enter the raffle follow the FDT
Raffle link on
http://model-glue.com/
[EMAIL PROTECTED]
Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
cfaussie
I've been with Mike Kear/AFP Webworks for several years and am pretty
happy. I may even have a new domain to get for him (WIRES - they look
after injured animals).
Pretty much everything I need to do can be accomplished with the control panel.
how do you folks do a reset of the application if you're using
Application.cfc?
What i mean is if you have http://domain.com.au/index.cfm?reset=yes,
how do you handle that resetting in the Application.cfc file? (not
application.cfm - i've been doing that fine for ages .. its the .cfc
version
in the onRequestStart handler, you can add some code to this effect:
!--- RENEW APPLICATION VARIABLES ---
cfif structKeyExists(URL, reset) AND URL.reset IS YES
cfset this.onApplicationStart()
/cfif
That should do the trick
Thanks Joel, that's what i wanted.
Starting the application again also kills all sessions doesnt it? so
there's no need to also call the onSessionStart() method?
Cheers
Mike Kear
On 12/12/06, Joel Cass [EMAIL PROTECTED] wrote:
in the onRequestStart handler, you can add some code to this
My gut feeling says that calling this function will not reset the session
variables. You could try it out and see what happens to your session though.
If it doesn't work, perhaps assigning a random name to the application would
reset the session variables? I think you can do this by setting the
onRequestStart()
cfif StructKeyExists(url, restart)
cfscript
structClear(application);
structClear(session);
onApplicationStart();
/cfscript
/cfif
--~--~-~--~~~---~--~~
You received this message because you are subscribed to