LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2013, 09:04 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,848

Rep: Reputation: 62
reloading page before submitting post erases it


I notice that if I'm typing a post but reload the page for some reason before submitting it (for any reason, the reload erases what I typed. (In this case, my script blocker was interfering with some page functions, and when I told it to allow all scripts, it reloaded the page.) Unless it was probably a problem with my browser, might it be feasible to make LQ save unsubmitted text if you reload the page for any reason? Otherwise, I guess I must remember to type posts elsewhere and paste them here.
 
Old 04-27-2013, 03:15 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,539
Blog Entries: 51

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
While I'm sure something could be done with regards to "modern" browsers and local storage (besides Opera for example has had "notes" functionality built in for ages now), think of it from the perspective of the web server: if a page reload would not result in restoring contents then the World-wide Web would be a World of Hurt.
 
Old 04-27-2013, 05:20 AM   #3
Randicus Draco Albus
Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 798
Blog Entries: 2

Rep: Reputation: 193Reputation: 193
That is why, on any board, when I spend many minutes writing a long post, I copy it to a clipboard before submitting. It is a lesson I learned after about the second time it happened. It has saved my "creative works" many times on every board I have posted.
 
1 members found this post helpful.
Old 04-27-2013, 05:22 AM   #4
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid + various in VMs.
Posts: 2,866

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627
Quote:
Originally Posted by Randicus Draco Albus View Post
That is why, on any board, when I spend many minutes writing a long post, I copy it to a clipboard before submitting. It is a lesson I learned after about the second time it happened. It has saved my "creative works" many times on every board I have posted.
I follow this procedure also, it saves a lot of retyping.
 
Old 04-27-2013, 11:03 AM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,244

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
Quote:
Originally Posted by newbiesforever View Post
I notice that if I'm typing a post but reload the page for some reason before submitting it (for any reason, the reload erases what I typed. (In this case, my script blocker was interfering with some page functions, and when I told it to allow all scripts, it reloaded the page.) Unless it was probably a problem with my browser, might it be feasible to make LQ save unsubmitted text if you reload the page for any reason? Otherwise, I guess I must remember to type posts elsewhere and paste them here.
Webpages that behave like this are the rule, not the exception.

As Unspawn points out, there are now ways to save text across refreshes, but they won't work on all browsers. Especially not on browsers with Javascript turned off. They also take time to program.

Last edited by dugan; 04-27-2013 at 11:05 AM.
 
Old 04-27-2013, 11:51 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,176

Rep: Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597Reputation: 2597
An auto-save feature will be available after the next major code update (and can be tested at http://www.androidquestions.org/forum.php now).

--jeremy
 
1 members found this post helpful.
Old 04-27-2013, 12:00 PM   #7
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,991

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Not preserving contents is by design. W3 is stateless. By proper design of the pages, contents can be preserved through refreshes by the server. Maybe it is even automatically contained in numerous frameworks, maybe it is implemented client side as well by some smart browsers. Bottom line is, the web page designer (or the framework) has to do something to achieve this. Like Jeremy said, with the next update of this board the feature will be available, so it is something the web site design allows for.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
html: submitting form data as GET parameters instead of POST? stateless Programming 7 02-15-2013 01:17 PM
reloading web page on clients from Apache server MrUmunhum Linux - Server 2 11-04-2012 03:30 PM
Reloading a page every 3 minutes in lynx Menestrel Linux - Newbie 1 05-21-2005 10:42 AM
Submitting a POST Form with Links HappyDude Programming 0 10-24-2004 02:07 AM
Reloading page with php emilioestevezz Programming 1 09-07-2004 04:40 PM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration