Home | Community | Message Board


AzariusPlease support our sponsors.

Community >> Science and Technology

Welcome to the Shroomery Message Board! Please login or register to post messages and view our members-only content. You'll gain access to additional forums, encrypted messages, file attachments, board customizations, and much more!

Pages: 1
Invisiblejohnm214
Male User Gallery


Registered: 05/31/07
Posts: 5,689
Loc: Americas
Post data warnings in firefox/other browsers
    #8552479 - 06/22/08 10:56 PM (1 month, 28 days ago)

When navigating websites I often get post data errors when using the navigation buttons (back, forward, et cet) to go back from pages with forms.  This is a pain in the ass.  I understand the purpose, but it is still annoying.  I am aware of when I would be resubmitting the data, and don't need to be reminded.

I don't understand websites too well, but I have searched and found people saying the error message isn't neccesary and is a result of people using post comands instead of get commands.  Is this true?

Either way, anyone else find these popup warnings in firefox or whatever annoying?  Is there anyway to disable them?  Id on't really care to see them.

And why doesn't this page have that problem?  What does shroomery do differently that doesn't cause the post popups when navigating through the pages with fillable forms?


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
Offlinezouden
Neuroscientist
Male User Gallery


Registered: 11/12/07
Posts: 1,654
Loc: Australia
Last seen: 2 hours, 15 minutes
Re: Post data warnings in firefox/other browsers [Re: johnm214]
    #8553065 - 06/23/08 03:39 AM (1 month, 28 days ago)

You get the error on the shroomery if you go to the Psychedelic Experience and choose a category (bottom-right) - it uses POST to select the category for some reason, so going back brings up the warning.
I heard this was going to be 'solved' in future versions of firefox, but the message is still there in FF3 (though it's a bit more friendly).
I find it really annoying too, and I don't think it's necessary - when I press back, I want to see the last page. Don't re-send the data! Just cache the fucking page and show it to me!


--------------------
9/11 was sketchy but I mean come on


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 15,246
Loc: Caribbean
Last seen: 14 minutes, 19 seconds
Re: Post data warnings in firefox/other browsers [Re: johnm214]
    #8553114 - 06/23/08 04:19 AM (1 month, 28 days ago)

Quote:

I don't understand websites too well, but I have searched and found people saying the error message isn't neccesary and is a result of people using post comands instead of get commands.  Is this true?




Not really. 

There are two ways to send data from the web client back to the server.  One method is GET, the other is POST.  The GET method includes the data in the HTTPD query; in other words, the data becomes part of the "filename" being requested.  Because of limits on the maximum filename length, the amount of data that can be sent via GET is fairly limited.

To fix this problem, POST data is used.  POST data is submitted as "option data" rather than combined into the "filename".  Because of this, POST data does not have arbitrary limits on length.

The problem you are seeing with the error message is an artifact of how the web works... the web is stateless.  When you visit a page, the page is standalone.  There is no dependency upon the previous page visited, or the next page to visit, as far as HTTP is concerned.  Unfortunately, many applications require a certain path (of states) to accomplish a task.

To manage state, most sites create a session (stored on the server) to hold the state, and a cookie to identify the web browser to a session.  When your browser sends data, it also sends the cookie.  The server can look up the cookie (in a database, etc) and load the session variables to implement a stateful browsing experience.

But, there is a catch... the damned back button... the back button allows the web browser to go back in time to a previous state.  Unfortunately, the web site, which is managing the state, has no idea that the browser has gone back in time.  This causes no end of headaches when you move forward again after going back, resubmitting the data you entered twice... from the wrong state, no less...

The problem gets even worse when you have several pages in a row that are all created within context of the previous page.  Now, if I am at the third page, and I hit the back button, the web browser has to submit data to the first page to regenerate the second page that is to be displayed.

There really is no solution... other than to redesign how the web works, which isn't going to happen.  The only other alternative is to pop up a warning message so that the user knows they are potentially confusing the stateful relation that the web site is trying to maintain with the web browser.  One of those "proceed at your own risk and don't blame us if it doesn't work" type of warnings...


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me!  Notify Moderator    
Offlinezouden
Neuroscientist
Male User Gallery


Registered: 11/12/07
Posts: 1,654
Loc: Australia
Last seen: 2 hours, 15 minutes
Re: Post data warnings in firefox/other browsers [Re: Seuss]
    #8553167 - 06/23/08 04:53 AM (1 month, 28 days ago)

But I don't understand why the browser can't just load the page from cache and not send any data.


--------------------
9/11 was sketchy but I mean come on


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 15,246
Loc: Caribbean
Last seen: 14 minutes, 19 seconds
Re: Post data warnings in firefox/other browsers [Re: zouden]
    #8553228 - 06/23/08 05:19 AM (1 month, 28 days ago)

> But I don't understand why the browser can't just load the page from cache and not send any data.

Because what is in the cache may no longer be valid, and more often than not, the web site told the web browser not to cache the page (thus there is nothing to load from the cache).


--------------------
Just another spore in the wind.


Post Extras: Print Post  Remind Me!  Notify Moderator    
OfflineSeussA
Error: divide byzero


Folding@home Statistics
Registered: 04/27/01
Posts: 15,246
Loc: Caribbean
Last seen: 14 minutes, 19 seconds
Re: Post data warnings in firefox/other browsers [Re: zouden]
    #8553233 - 06/23/08 05:22 AM (1 month, 28 days ago)

Two is not always better than one..


--------------------
Just another spore in the wind.

Edited by Seuss (06/24/08 01:08 PM)


Post Extras: Print Post  Remind Me!  Notify Moderator    
Invisiblejohnm214
Male User Gallery


Registered: 05/31/07
Posts: 5,689
Loc: Americas
Re: Post data warnings in firefox/other browsers [Re: Seuss]
    #8557933 - 06/24/08 10:56 AM (1 month, 27 days ago)

Double post.

I think you didn't clear your post data there buddy



Thanks for the explanation though.


I still stand by my request to disable that stupid message though.  A blank page would be fine, with the message on it explaining the post data thing, for when someone tries to navigate to a page not in cache and that doesn't exist anymore or whatever.

I really don't care about seeing the data, just trying to navigate backwards.

Down with post data warnings, especially popups


Post Extras: Print Post  Remind Me!  Notify Moderator   Ignore User 
Jump to top. Pages: 1

Community >> Science and Technology

Similar ThreadsPosterViewsRepliesLast post
* Why use Firefox?
( 1 2 all )
Smallworlds
1,108 28 05/14/05 10:05 AM
by Vvellum
* New Firefox Vulnerability
DiploidM
759 9 02/28/07 03:35 PM
by Odiumjunkie
* Serious Firefox Bug Fixed... Serious IE Bug Not
DiploidM
297 2 07/22/07 07:14 AM
by wiggles
* Mozilla Patches 13 Firefox Security Flaws, Eight Critical
DiploidM
378 2 07/28/06 11:34 AM
by Vvellum
* FireFox Myths.
HeavyToilet
369 11 03/01/06 03:55 PM
by Vvellum
* Firefox 2.0.0.2 installing adware??? EDIT: False Positive
matt
385 8 02/24/07 12:16 PM
by matt
* Firefox, Thunderbird and Debian, oh my *fixed*
blink
206 5 08/30/05 08:03 AM
by Vvellum
* firefox extension help
automanM
139 2 02/17/05 11:41 PM
by Vvellum

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / UBBCode is enabled
Moderator:  Lana, Diploid, automan 
272 topic views. 1 registered and 2 anonymous users are browsing this forum.
[ Toggle Favorite | Print Topic ]

del.icio.us del.icio.us Digg digg Furl Furl MyWeb MyWeb Reddit reddit StumbleUpon StumbleUpon
Search this thread:
Lil Shop Of SporesPlease support our sponsors.

Copyright 1997-2008 Mind Media. Some rights reserved.

Generated in 0.43 seconds spending 0.37 seconds on 16 queries.