Small ColdFusion Admin Bug (DSN Form and Timeouts)

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:

cfisfasterthanphp?targeted=true

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 developer advocate. He focuses on JavaScript, serverless 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 https://www.raymondcamden.com

Comments