I imagine OnSessionEnd.cfm would add considerable load? CF would have to track the session time out of every user, while it may be handy from time to time, it's a trade off I certainly wouldn't take if I was MM. Perhaps if it was configurable by application, <cfapplication tracksessionend="yes" ??
However, one thing I would love is the ability to end a request (send the user back his http 200 repsponse code) and continue processing, perhaps in a different thread. You can sorta hack this in a way with cfexecute and wget, but native would be great. -----Original Message----- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: 18 September 2003 07:32 To: CF-Talk Subject: RE: wanted features (was Re: (Admin) disclosure) > -----Original Message----- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2003 1:07 AM > To: CF-Talk > Subject: Re: wanted features (was Re: (Admin) disclosure) > > > The two biggest requests for new functionality I here are: > > > > 1) End of session processing (however it's done, an event model, a > > special template handler, etc - people are always asking "how do I tell > > when a user is about to time-out"). > That would be great. OnEventEnd as a setting of some sort in the > CFAPPLICATION tag to run a template when the specific event ends > (OnSessionEnd, OnApplicationEnd). An admin or programatic way of > watching the current session > information would also be great. You can hack such a thing now, but built > in > would be so much nicer. I've got a feature request in the MM system now (actually added for me by Adam Cameron) suggesting the extension of the Application.cfm to at least four levels: Application.cfm/OnRequestStart.cfm (a much better name I think) OnRequestEnd.cfm: Already implemented OnServerStart.cfm: Runs when the server starts. (Maybe not a good idea as there may be file placement issues). OnServerEnd.cfm: Runs when the server is taken down "nicely" - would be useful for logging and such. OnApplicationStart.cfm: Runs once the first time an app starts (server refresh). OnApplicationEnd.cfm: Runs on a nice server refresh or app time-out. OnSessionStart.cfm: Runs once when a session is initialized in that session's space. OnSessionEnd.cfm: Runs right before a session is timed-out in that session's space (but doesn't reset the session timeout). > > 2) Direct Image manipulation (at the very least information access and > > resizing - it seems like every other week somebody is asking how to do a > > thumbnail gallery). This is pretty easy nowadays if you know a little > > Java - but many CFers don't. > Direct image, PDF, RTF, etc. manipulation/creation. We can create graphs > on the > fly nativly in CF, we can create images using the CFX_Image tag, we can > use X,Y, > or Z product to create PDFs. Why not make it all native to CF. This is the kind of thing that you can really extend infinitely. For specific file formats (like PDF) I'm not sure if it's something MM would want to do (licensing costs, perhaps, and version issues might crop up). However it seems like they may be able to partner with somebody for this stuff and include it in the base product. In general CF's handling of binary data leaves a lot to be desired (although it has gotten much better). Although it is possible to embed binary data in a CF file now it's a little kludgy. It would be very nice to be able to stream data into CF (as from a text log file) instead of being forced to always load the entire file into memory via CFFILE. > > Even if NNTP's not "in demand" it does seem like one of the only major > > protocols that CF doesn't support natively. For that reason alone it > > might be nice to see it in there ("Supports all major Internet > > protocols"). > My point. :) And a fine point it is. ;^) I'm just surprised that this was never done... I know that they've always got bigger, better on the horizon and they're working on that, but NNTP is such a simple protocol (no more complex than say SMTP or POP). You'd think they would have done something long ago. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137443 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

