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?
Archived Comments
Ray,
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.
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.
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).