Small ColdFusion Admin Bug (DSN Form and Timeouts)

This post is more than 2 years old.

I just filed a bug report for this (#82246) and I didn't really think of it as that big a deal, but the more I thought about it, the more I thought I could see someone else running into it as well. I was using the ColdFusion Administrator and had it open to the list of DSNs. I needed to edit a DSN but when I had clicked, my session had expired. After logging in I was brought back to the place I had been trying to access. Let's say it was DSN cfisfasterthanphp. When the form loaded, the name had been changed to:


I can easily see missing that. Even more - the rest of the form was blank. Now - that should be pretty obvious, but again, I missed it. I almost hit submit as a quick way to return to the list and get back to the edit. If I had done so, I would have lost the rest of my DSN information. (Which I know I have documented somewhere... um... yeah....)

p.s. Handling state (where you were going, what was in your form, etc) is a non trivial matter when it comes to web sites. How about a quick blog entry on some techniques to handle cases like this?

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA

Archived Comments

Comment 1 by Tom Forrest posted on 2/25/2010 at 11:09 PM


I encountered that a few days ago myself. I thought it might have been because I was logged into all 3 instances we have running on that box from the same browser (though with different tabs). I dismissed it thinking my sessions got confused or some such.

Comment 2 by Brad posted on 2/26/2010 at 9:10 AM

Wow, that's crazy. I literally saw this today... but in CF 8, logged into a cluster. Strangely, I had just logged into CF Admin, went straight to the DSN and presto, DSN?target=true. No chance for a session timeout, I guess. Like you I *almost* hit the submit, but was quicker with the back button on the mouse. One more click on the DSN again and all was well. Weirdness.

Comment 3 by JC posted on 3/11/2010 at 12:05 AM

I run into this a lot when I'm working with CF Admin in tabs for multiple sites at once (using the same IP and different ports, since we only allow maintenance via localhost).