Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59614?pagenum=1
05 November 2025, 01:39
Topic
s80ts0465
lost the message just typed
27 September 2005, 03:43
Many times happend that during writing a new post somebody come back of the page, so he lost everything wrote.
Is is possible to save what typed in a cookye file, so to have the possibility to retrive the message? bye ste<
Replies ...
HuwR
27 September 2005, 03:58
This is a client issue not a forum issue having a cookie would not help, your website knows absolutely nothing about the use of the back button, it is a client function, pressing the backbutton on your browser loads the page from the browsers cache, the page does not execute so would not load the cookie anyway.
I can move away from this page and come back without losing what I have typed<
s80ts0465
27 September 2005, 04:11
Ok i understood!
but is it a browser setting or forum setting??
anyway u mean that when u press backbotton after typing something and and forward botton u don't loose thwat just typed??
byue ste<
Shaggy
27 September 2005, 06:00
Ste, see this topic for a discussion on this (a topic you posted in, by the way! ).
<
s80ts0465
27 September 2005, 06:14
yes, but any soluction is suggested in that topic<
ruirib
27 September 2005, 08:21
Yes, but that is a browser issue, as HuwR stated. moving back and forward, most of the times, won't request the page again, so that does not fix it. Also, the server has no way of knowing that you have typed something since that is done in your browser, so the server cannot create cookies at all.
IE allows me to move backwards and forwards without problems, so use IE if you want to have it this way.<
laser
27 September 2005, 08:47
Here is the solution you seek :
Ctrl-A Ctrl-C
when you return to the page use :
Ctrl-V
<
s80ts0465
27 September 2005, 09:18
Oh ok thanks for everything
I'm gonna try to study something else so solve the problem, beacuse the user i have are used to write something and send it a lot later.
Maybe could be intresting to add a botton as quick save(as CTRL+C), so the user during typing can click it to save the massage in a local cookie or somewhere . What about it??<
laser
27 September 2005, 09:25
I doubt that will work. Sounds like the best thing for them is to use Notepad or similar.<
s80ts0465
27 September 2005, 09:27
and od u think that could be possible, with this "quick save" send the message to the notepad??<
laser
27 September 2005, 16:20
No, I think you just need to teach them how to use the clipboard, or a more permanent solution is notepad.<
AnonJr
27 September 2005, 21:30
While what you are asking for could possibly be technically possible... (I could qualify for congress with a statement like that)
I think the actual implememtation will prove to be more difficult, resource intensive, and unwieldly than it is worth. A little user education, or maybe an open discussion with them reguarding the issue, could go a long way to helping.
As idle speculation though, you could add a boolean field to the reply table, and have them "approve" their own post.... but that could be fairly resource intensive in a large/busy forum.... not to mention other logistical issues....
Just out of curiosity, the "the user i have are used to write something and send it a lot later.
" is/are the user(s) thinking of this in terms of e-mail? I ask because I've not seen anything like it in other forum packages.<
s80ts0465
28 September 2005, 01:40
ok thanks alot.
i'm gonna try to teach them.
bye ste<
Shaggy
28 September 2005, 05:55
As I mentioned in the other topic on this, one way to do it is as I have done with the registration form on Woo.ie (To see it, submit the registration form on the homepage, leaving a couple of the required fields blank). No need for any cookies, database hits or anything like that, just request.form.
<
AnonJr
28 September 2005, 06:13
Unless I'm mistaken, ste's thinking of something a little different.... though I'd not be shocked if I was proven wrong ... with all that's been going on at the hospital my focus hasn't quite been up to par.<
s80ts0465
28 September 2005, 06:25
Originally posted by Shaggy As I mentioned in the other topic on this, one way to do it is as I have done with the registration form on Woo.ie (To see it, submit the registration form on the homepage, leaving a couple of the required fields blank). No need for any cookies, database hits or anything like that, just request.form.
yes that could be fine for me too<
ruirib
28 September 2005, 07:13
Shaggy, What you do in Woo.ie is not to get back in a controled way, after form submission, and retrieve the previous form values? It didn't look like this was the situation here, at least as I understood it.<
Shaggy
28 September 2005, 07:27
As I understand the problem here it is also after form submission (post.asp to post_info.asp), when the flood control, or other, error is encountered. As the form is being submitted, the values are being read into variables so the form could be placed below the error message with the relevant fields populated by the variables so that a member can correct their errors without the need to hit the back button.
Or maybe I've missed the target completely as to what Ste is trying to accomplish. <
AnonJr
28 September 2005, 07:49
Originally posted by Shaggy Or maybe I've missed the target completely as to what Ste is trying to accomplish.
I don't know that any of us is clearly understanding ... Based on the first few posts I was thinking this was a problem with hitting the "Back" button and then comming back.
Somewhere along the way it began to sound more like people wanted to start typing a post, then finish/post it later.
Now I have no idea what the actual problem is.... of course it could have something to do with it being a Wed. and I haven't had the first cup of coffee yet! <
s80ts0465
28 September 2005, 07:49
mhh.....
i need to save the message after a backbotton, not after form submission.<
ruirib
28 September 2005, 07:50
Probably we both did .
There is one thing for sure: if the problem is after form submission, then it can be dealt with. Anyway, if it's after form submission and posters take a long time to do it, how come flood control is an issue?<
ruirib
28 September 2005, 07:53
Originally posted by s80ts0465 mhh.....
i need to save the message after a backbotton, not after form submission.
What is the situation? You're typing the post, press back button, then try to get to the posting page again to continue posting?<
Shaggy
28 September 2005, 07:55
Was just using that error as an example <
s80ts0465
28 September 2005, 08:06
Originally posted by s80ts0465 mhh.....
i need to save the message after a backbotton, not after form submission.
What is the situation? You're typing the post, press back button, then try to get to the posting page again to continue posting?
yes exactly ! and i'd like to not loose what i typed before<
Shaggy
28 September 2005, 08:13
Again probably misunderstanding but are you wanting to allow members use their browsers back button to return to the post they just made in order to edit it? Because you're not going to be able to accomplish that in this manner, you're going to end up with a new post each time a member does that. Can they not just edit their posts from topic.asp?
<
ruirib
28 September 2005, 08:31
Originally posted by Shaggy Again probably misunderstanding but are you wanting to allow members use their browsers back button to return to the post they just made in order to edit it? Because you're not going to be able to accomplish that in this manner, you're going to end up with a new post each time a member does that. Can they not just edit their posts from topic.asp?
It doesn't look like that. Looks like the back button is pressed before the post was submitted.
I repeat as Huw stated, that's the way browsers work. If the browser keeps the data for you, good, otherwise you're lost. You could probably add a couple buttons to the browser, to copy the text to the clipboard and to paste it back from the clipboard again, but these buttons would need to be clicked before navigating out of the page and after navigation back to the page.
My advice, no joke: tell users to use IE. If they want to use something else, tell them they should not navigate out of the page before posting.<
AnonJr
28 September 2005, 08:49
Originally posted by ruirib My advice, no joke: tell users to use IE. If they want to use something else, tell them they should not navigate out of the page before posting.
I've seen IE behave that way too... like HuwR said, its a browser function - and probably depends on what you have enabled/disabled. As mentioned before, since the back button pulls from the browser's cache, any code you put in there won't execute.<
s80ts0465
28 September 2005, 13:42
ruirib is right
i've understood.
i've to train peoples.
thanks a lot anyway
bye ste<
Shaggy
29 September 2005, 12:11
Been thinking about this while formatting a very boring document here and I don't think this "problem" is 100% down to the browser, I think it may be a combination of the browser and the server's cache settings. For example, using Firefox on these forums, I'll lose form entries when navigating around using the back and forward buttons but not on any of my own forums even with "out of the zip" forums where the only difference would be the server, this behaviour isn't consistent. If it was down to the browser then it's behaviour in relation to "remembering" form entries should be the same for all forms on all sites.
<
HuwR
29 September 2005, 12:14
converseley, if it was the server, all different browsers would behave the same , one thing for sure though, it is not the forum<
Shaggy
29 September 2005, 12:22
Oh, ay, definitely not a Snitz issue.
While, theoretically, all browsers should behave the same way if it were a server setting, we know from past experience that not all browsers bahave the same way when it comes to different things. For example (an example only, I've got nothing to back it up with ), if the server, or indeed the scripts themselves, forced a browser to reload a page rather than read it from cache, it's could be possible that IE ignores that when back or forward are used.
<
HuwR
29 September 2005, 12:46
No, using the back/forward button in IE issues a javascript (client side) history.go and will therefore fetch the page from your PC's cache, it will not send a request to the server. The cache settings in your page (pragma-cache etc) do not affect this in any way whatsoever, the cache setting in your page determines whether the request for the initial page comes from the servers/proxy cache or not, the two caches are not the same.
How Firefox deals with it's back button may indeed be different, it may re-issue the page request rather than do a javascript history call, in which case Firefox will rely on the server/proxy cache for the page<
philwhite
29 September 2005, 14:09
I'm surprised that the original question generated so much confusion, as several of my users have asked me the same question. It appears to be primarily an issue with Firefox. (I just tried it with this message on this forum. IE allows you to use the back and forward buttons without any problems, and any text typed in an INPUT or FORMAREA field is retained. Firefox loses the text.)
I'm not sure exactly what Firefox is doing, but it doesn't appear to be calling the server/proxy cache. I'm on a dialup line here, and it takes several seconds to load a long page, even if I return to it through normal navigation within a short period. If I use the back button in Firefox, it's there immediately (even if my router has dropped the line), but without the FORMAREA content.
Many of our users spend several hours composing replies, and most do it in Word, to the extent that I've given some of them a macro to convert the most common simple formatting (bold, italic etc.) into forum code.
As everybody has said so far, use Notepad (or another editor) and the clipboard.
But it's still annoying after spending some time composing a reply to suddenly think "didn't we discuss this a few weeks ago", go to the search form and then find that you've lost what you've written. Happens to me all the time, even though I'm aware of the problem.<
HuwR
29 September 2005, 14:15
To be honest I allways copy anything I am typing if I navigate away, just in case . It is a matter of education, you soon get fed up with losing what you wrote, so copying becomes second nature eventually.<
AnonJr
29 September 2005, 14:21
Originally posted by HuwR To be honest I allways copy anything I am typing if I navigate away, just in case . It is a matter of education, you soon get fed up with losing what you wrote, so copying becomes second nature eventually.
Big ditto on that! I've gotten in the habbit of opening the search in a new window if I need to cross-reference something from another topic.<
philwhite
29 September 2005, 14:21
You have more self-discipline than I.
Or, of course, you have lost even more text than I.<
HuwR
29 September 2005, 14:28
I've gotten in the habbit of opening the search in a new window if I need to cross-reference something from another topic.
Yes, I also do that, maybe a suggestion would be to change the target for search in the menu, so searching would not wipe out your post<
philwhite
30 September 2005, 06:30
I did that for a while on my test box and found that I ended up spawning dozens (well, more than 4) of windows (because I tended to carry out further searches out of the spawned windows).
Now I tend to open the default page in one tab (Firefox), the search form in a second tab and open results from the search in new windows (which I then close down as soon as I've finished with them). Unless, of course, I forget...<