But it's okay the session clears as well.
Also - the application as you wrote it is in my application.cfm . If I
was to do that.. I would have to in step three - write a TimeOutVariable
= 0 and conditionally set it in application.. doesn't seem good.
Unless- you are suggesting that I have this in my application.cfm
cfapplication name="application name"
sessionmanagement="YES"
sessiontimeout="#CreateTimeSpan(0,0,20,0)#"
and THis on the page being called on the final step -
cfapplication name="application name"
sessionmanagement="YES"
sessiontimeout="#CreateTimeSpan(0,0,0,0)#"
Assuming it is okay to have 2 cfapplications setting the same session...
I also would then assume that the last cfapplication and it's values are
the one that is followed. Is this correct?
If I am way off.. please explain what you mean as I am interested.
thanks
jason
James Wood wrote:
> Do not use StructClear() funciton on the SESSION scope itself, as in
> StructClear(SESSION). This will erase the session itself, rather than all the
> session variables.
>
> To remove the session variables just set the timeout to 0.
> as in
> cfapplication name="application name"
> sessionmanagement="YES"
> sessiontimeout="#CreateTimeSpan(0,0,0,0)#"
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4