Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 04 AUG 2000 12:39:29PM Wilhelm Schmitt wrote:

Our web application uses 2 access ways to data:

- Typing the key (immediate response within 2-3 seconds). No problem.

- Searching index (may take more than 15 seconds). After 5 seconds many users get nervous … and update the page, starting over again.

When searching the index, I would like to post a message for several seconds saying something like "Please wait. Processing request…" and then start the process.

Questions:

a) Is there a way to do that in HTML/JScript?

b) Would it be possible to chain the process directly through OI?

(1) Display waiting message (HTML)
(2) Search the index (RBasic)
(3) Display search results (inet_rlist HTML)

Any suggestions?

Regards

Wilhelm


At 04 AUG 2000 01:24PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Chaining the routine back through OICGI is going to be the hardest part, since it can only handle one request at a time. You could send a post event to an open window to process the selection script or have the system work in two parts.

The simple way is have the script return a document that informs the user of the time delay, then instantly sends back a request to do the real search. The results of the search will return back and replace the screen.

More complicated is to send off the post event to execute the selection. Since you;ll have no control of the INET_GATEWAY from here, you'll have to write the final response doc out to a file/record somewhere. The "please wait" window will have to return requests searching for this doc, returning if it finds its, rediplaying the please wait message otherwise. All the post event will do is split the process, as it will never be able to check the request since the select will be processing, By the time the check request is executed, the select must have finished.

will reload the current page every 5 seconds, for what it's worth in this situation.

Most complicated is to work with hidden frames, use them to handle the requests back and forth, then use JS to shut down the "message" window informing the user to wait.

This would be easier if OICGI could process more than a single request at a time. Luckily, we don't have this problem at Sprezz.

The Sprezzatura Group

World leaders in all things RevSoft

www.sprezzatura.com_zz.jpg


At 07 AUG 2000 06:59AM James Birnie wrote:

Ok I'll bite.

Are you saying OICGI can't have more than one thread going at any one time?


At 07 AUG 2000 07:31AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

OICGI is a 32 bit process which communicates with OpenInsight and OpenInsight is single threaded. So if it is processing one web request all other users are blocked out until that request has finished executing. This places severe restrictions on internet program design.

The Sprezzatura Group

World Leaders in all things RevSoft


At 07 AUG 2000 08:26PM James Birnie wrote:

I totally agree - that is a near unworkable situation in many instances. I find it interesting that the sample Golf application is a retail style store which would be most inappropriate for a scenario like this.

Can you give me some idea how you work around it, or should I contact you directly?

TIA

James.


At 08 AUG 2000 02:19AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Forum rules prohibit advertising. [email protected] .

The Sprezzatura Group

World Leaders in all things RevSoft


At 08 AUG 2000 03:47AM James Birnie wrote:

I always imagined being a World Leader would mean I could do pretty much whatever I wanted. Hmm… might have to rethink my priorities.

Email sent - thanks.


At 08 AUG 2000 04:11AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

When we're playing in Jim's front room we try to display decorum

The Sprezzatura Group

World Leaders in all things RevSoft


At 08 AUG 2000 07:45AM Eric Emu wrote:

Speak for yourself……

Eric


At 08 AUG 2000 11:59AM Wilhelm Schmitt wrote:

Quote:

"… Luckily, we don't have this problem at Sprezz."

This means, that you either:

1) know about some undocumented features

2) have an add-on to OI

3) have a replacement for the OICGI

4) do not use OI at all for your web-applications

Could you be a little bit more specific?


At 08 AUG 2000 12:28PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

answer is 2-4.

We'll be making an announcement shortly. Just completing documentation et al

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/d560e24ea68e237f85256931005b81ac.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1