WebSite Information > Comments, Suggestions & Questions

Cruelty in OS2World

<< < (2/3) > >>

Martin Iturbide:
Would something like Lazarus will help with this kind of problems?
https://addons.mozilla.org/es/firefox/addon/lazarus-form-recovery/

Sorry, I haven't tried it yet on Firefox OS/2.

dbanet:

--- Quote from: Ben on January 17, 2013, 04:07:53 pm ---Timeouts are normal for this type of software, so there will be no solution forthcoming from that side of things.

--- End quote ---
Actually there are a lot of techniques, for example, a PHP script may save the post data in a memcache server, database entry, or a file with a random ID and then redirect the user to a login form with an URL containing a get parameter with the ID.
Or these can be done on the client side, like saving the form in a localStorage, or a cookie, or sending the form by AJAX, or logging in by AJAX, or simply hijaxing everything, etc, etc...

Ben:
Hello, Boris.

Isn't AJAX Windows only? Can it be utilized by Firefox under OS/2?

I do not know, but maybe you do.

All I know is that this seems to be a persistent problem with the latest versions of SMForum. I have noticed this problem everywhere that uses the latest upgrades to it.

It did not exist in the past incarnation of OS/2 World, nor was the problem there on my own servers where I run several copies of it.

Now, that is just my own observations. It could be that something else we upgraded, (PHP for example), is causing this problem.

I have no doubt that it can be fixed and probably will be, but for now, it's an irritant.

BTW, I haven't had this problem since I installed the addon that Martin recommended, but neither have I made a long post, or had to walk away midstream... so the timeout would not have activated... just in case anyone is wondering.

However, it is only a matter of time. When what happens I'll post the results.

dbanet:
Hi Ben,

Asynchronous Javascript And XML, AJAX shortly, is a very old technology, and is now supported by all major browsers, all major platforms, including out port of Firefox (even version 4), and QtWebKit (QupZilla, etc). You can check how that works by going to http://google.com/ and typing in your request, but don't press Enter. You will notice that the page will be instantly updated and the search results will be shown while you are typing. Also the search hints are loaded in background.

Asynchronous means that your browser performs an HTTP request without reloading the whole page.
The JS code on the page creates a special object XMLHttpRequest, which performs the HTTP request, and then it gets the response back from it.

I don't have the described above problem, but when I somehow lose the form text due to very bad-written web-application, I usually can recover it by clicking the History Back button (or pressing backspace, or using mouse gesture with All-In-One Gestures add-on for Firefox).

I mean, if there is something written very bad in the simplemachines forum, that's not a rule.

Regards.

dbanet:
Actually, it was one time windows-only. Actually, not windows-only, but IE-only.

Microsoft developed an ActiveX feature for Internet Explorer, which included the support for the XMLHttpRequest object. That was around IE 5.5.

You had to create the object differently, like this:

--- Code: ---var xhr=new ActiveXObject('Microsoft.XMLHTTP');
--- End code ---
or like this:

--- Code: ---var xhr=new ActiveXObject('Msxml2.XMLHTTP');
--- End code ---

But now Internet Explorer supports the W3C-standartized method:

--- Code: ---var xhr=new XMLHttpRequest();
--- End code ---

Anyway, there is no difference between these, and all the objects' methods and behavior are the same.

Is that what you wanted to hear?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version