licentious radio

June 2002
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
May   Jul

   Click here to visit the Radio UserLand website.
   Click to see the XML version of this web page.


"What kind of peace do I mean? What kind of peace do we seek? Not a Pax Americana enforced on the world by American weapons of war. Not the peace of the grave or the security of the slave. I am talking about genuine peace, the kind of peace that makes life on earth worth living, the kind that enables men and nations to grow and to hope and to build a better life for their children - not merely peace for Americans but peace for all men and women - not merely peace in our time but peace for all time." -- JFK
 
Home | Stories | Politics/Humor | Web Usability/Humor | ipaq 3800 Linux | RadioRadio | Typography | About | Contact
RadioRadio
Thursday, June 27, 2002
[10:40:05 AM]     
A problem with a web interface. You can lose data -- like I just did.

The scenario was that I had submitted a Radio post, then put the Radio server (macintosh) to 'sleep'. Then I wrote and submitted a new post, but of course Radio was sleeping. I woke up the Mac, and hit the back button (in Mozilla 0.8ish) and got a dialog that the page had been generated by a form, and if I hit OK, it will submit the form again. Basically, I lost the post I had just written, and instead there was a previous post in the form.

Maybe I had hit edit for a previous post, then deleted the text to leave a blank textarea field, into which I typed the new post this morning? I don't think so. Every now and then, the back button just gives me a textarea field populated with some previous post.

What I suspect is happening is that the Radio webserver does an internal redirect, so the browser is cut off from the actual state. Web servers should do external redirects -- tell the browser to load the new url -- so that you can always hit reload in the browser and get the right page.

Even if this isn't the problem Radio is having, it's a key principle for web applications.



© Copyright 2002 john robert boynton.
Last update: 9/27/02; 6:31:22 PM.