> I was just experimenting around with the unsupported > sessiontracker > object and was surprised to see that my scheduled task was > creating a > session every 3 minutes when it ran. Considering my > session timeouts > timeouts are set at 4 hours, that's a lot of extraneous > sessions held > in memory. What can I do to keep this from happening? > I'd put > another application.cfm file in the task subdir, but I > need objects > from the root application.cfm to be instantiated. Is > there a way to > specify to kill the current session?
> Thanks > Marlon Add this to all your scheduled tasks: &scheduled=true then this in your application.cfm <cfparam name="url.scheduled" type="boolean" default="false"> <cfapplication sessionmanagement="#not url.scheduled#"> Just make sure your scheduled task pages don't reference any session variables. Or... optionally, you could explicitly declare a cftoken & cfid pair in the scheduled task url's, which would cause them all to share a single session. Neither of which I've tested, just throwing out ideas. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205298 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

