Ticket #61 ( Closed )

Short Description webtoscreen problem
Entered By: PeteL When: 1998-06-18 07:00:18 Build: 1.03.14b
Categories Type: Problem   Department: Product   Category: SurferScript
i have a problem reported to me that can only be attributed to webtoscreen not performing as it should. problem is as follows:
user leaves screen, logged in, for 45 minutes and gets timed out (buffer no longer in sync with browser).
user comes back, clicks on a button which brings up a menu (no server interaction, so no ability to know timeout has happened).
user makes a selection which triggers a transaction section which starts with GETSESSION, followed by WEBTOSCREEN, followed by TEACTION ENTER of some keystrokes (a tranid) and [enter].

expected results:
browser refresh with current buffer contents and ss timeout message, no host interaction.

actual results:
timeout was detected, but keystrokes were processed anyway, keying erroneous data into the current buffer screen.

webtoscreen should halt template section processing if mismatch found - it apparently doesn't.

Append By: WindSurfer  When: 1998-06-18 16:21:37  New Status: Accepted
Comment Should be able to fix early week of June 22.

Will also look at giving you the ability to detect out-of-synch situations in SurferScript.

Thanks for the clear description.

Append By: PeteL  When: 1998-06-25 14:47:28  New Status: Pending IE
Comment has this been included in build 15 or 16 yet?
Append By: WindSurfer  When: 1998-07-06 14:12:24  New Status: Pending Customer
Comment webtoscreen will now check and emit the timeout error...this may not be the final "best way" to deal with this problem.

Please test with ftp://ftp.ieinc2.com/pub/surfer/t1_3_18.zip and see how it works...then let us know what tweaks you would like to make it more palateable for the users.

Append By: PeteL  When: 1998-07-07 05:58:44  New Status: Pending IE
Comment will be testing this morning - as for tweaks, how about Screen.SilentTimeout = 1 turning off the message, like SilentReconnect?
Append By: PeteL  When: 1998-07-07 07:07:38  New Status: Pending IE
Comment new code backed out - dr. watson sent via email
Append By: PeteL  When: 1998-07-07 07:45:18  New Status: Pending IE
Comment btw - the dr. w. didn't happen at a time when there should have been anything going on having to do with a reconnect (other piece that was part of build 18), but very likely would have been running a webtoscreen based on what i had just clicked.
Append By: WindSurfer  When: 1998-07-07 11:15:24  New Status: Pending Customer
Comment Fixed and this time, tested, in ftp://ftp.ieinc2.com/pub/surfer/t1_3_18b.zip.

Note that all builds put on the ftp site will all have unique names, even though the build number may not increment. It has been a bit sloppy to just copy them over! So the letter at the end is a test build ID, not a general build ID, (which is C at the moment). They will start at "a" and go up the alphabet from there.

Note that the variable "Screen.SilentSynchErr" has also been implemented.

Also, Dr. Watson caused by backing-out and having a screen. variable that is not supported (or for that matter, a miss-spelled screen. or task. variable) has been fixed. Miss-spelled (sp? hah-hah) task. and screen. variables are now flagged during the compile as not-found and are also compiled to a dummy variable to prevent the runtime trap should the compile error be ignored.

Append By: PeteL  When: 1998-07-09 07:51:15  New Status: Pending IE
Comment code working fine - is screen.silentsyncherr in the latest build (the one with ssl support)?
Append By: PeteL  When: 1998-07-09 08:14:25  New Status: Pending IE
Comment NEW DISCOVERY!! - is it possible that this new code has regressed the code in webtoscreen which knows if webtoscreen has already been run????
i have a problem now that looks like that's what's going on - if that switch is set that webtoscreen has already run (tran section that putsections another, both have webtoscreen), the outofsync test should NOT be run.
Append By: WindSurfer  When: 1998-07-09 09:10:32  New Status: Pending Customer
Comment 1. Screen.silentsyncherr is in latest build. 2. You're right, the check for multiple webtoscreen calls WAS after the check for the timer. This has been corrected (tough fix, although my finger slipped on the Ctrl-V first time...).

New build at ftp://ftp.ieinc2.com/pub/surfer/t1_3_18d.zip

Append By: PeteL  When: 1998-07-13 14:26:50  New Status: Closed
Comment seems to be fine :)