Ticket #178 ( Closed )

Short Description SurferScript access to entire variable pool?
Entered By: PeteL When: 1998-10-07 06:25:03 Build: 1.03.25g
Categories Type: Question   Department: Product   Category: Troubleshooting
Description
Now that you're in the midst of cleaning up all my other open problems, I have a new question - I'd love to be able to produce a screen like the console Active sessions screen, but with different data. I'd like to be able to produce a screen for the help desk that would show a couple of the session variables so that I could include user name and/or userid, along with some of the other stuff (lu name, etc.). Can this be done? If so, can I somehow make it "secure" like the console?
Append By: WindSurfer  When: 1998-10-07 07:16:16  New Status: Pending Customer
Comment This is a great idea-- we will see what we can do...Maybe a special template file, with a header, detail and footer section that is used by you to define a console query page-- only accessible through the console port...actually not very hard to do!
Append By: PeteL  When: 1998-10-07 09:41:07  New Status: Pending IE
Comment most excellent
Append By: WindSurfer  When: 1998-10-08 16:38:40  New Status: Pending Customer
Comment Turned-out that this, while not hard and a bit fun to implement is too time consuming when balanced with other priorities.

What we've done is make the "LU" and "User" fields that are displayed in the Console updatable in your SurferScript. Both of these values are only initialized by Screensurfer at session start-up, so if you modify them in SurferScript, your changes will persist throughout the session.

Basically, Screen.ActiveLU is now read/write (used to be read only), and so is Screen.ActiveUser (new variable). Just set these in your SurferScript logon code and you can display whatever you want...the LU is limited to 103 characters and the userid is limited to 19.

Append By: PeteL  When: 1998-10-09 06:11:10  New Status: Pending IE
Comment sounds good - and this is available in build ...... ?
Append By: WindSurfer  When: 1998-10-09 06:36:12  New Status: Pending Customer
Comment It is in ftp://ftp.ieinc2.com/pub/surfer/t1_3_26c.zip.
Append By: PeteL  When: 1998-10-09 06:58:19  New Status: Pending IE
Comment well, I'd like to believe that, but the compiler error doesn't agree
Append By: WindSurfer  When: 1998-10-09 07:06:41  New Status: Pending Customer
Comment Hmmm, will check on the spelling-- might have something wrong here. Can't do until at work at around 9:30 though! Will update then-- maybe start a session and view the stateInfo from the console...you should see the correct spelling there.
Append By: PeteL  When: 1998-10-09 07:18:40  New Status: Pending IE
Comment sorry - not there - 26C has a date of 10/7, time 6:46am
Append By: WindSurfer  When: 1998-10-09 07:50:24  New Status: Pending Customer
Comment Alrighty then. Try 26D at around 10am.
Append By: WindSurfer  When: 1998-10-09 10:12:53  New Status: Pending Customer
Comment ftp://ftp.ieinc2.com/pub/surfer/t1_3_26d.zip is ready, and has been tested with Screen.ActiveUser and Screen.ActiveLU -- these now show up under the headings "Address" ("[ActiveLU]") and "Session Status" ("Active - [ActiveUser]")-- next step will be to give you customization of the headings displayed in the status lines, but that can be another ticket!
Append By: PeteL  When: 1998-10-09 11:07:54  New Status: Closed
Comment excellent! working as designed, I'm very un-concerned about the headings - that barely makes the nice-to-have list.

thanks!