Your Answer -- CA switch /TSRALL and /S:nnn


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by jim guerber on February 24, 2016 at 10:33:15:

In Reply to: CA switch /TSRALL and /S:nnn posted by Richard Neer on February 22, 2016 at 17:15:32:

After much stepping through code, I have your answer. COSW deals with CA sessions not terminal names (term$). Terminal names are changeable by any program to anything (with a 3 character limit). There may be more than 1 term$ with the same name. Comet does not change term$ itself, but a program could.

CA Sessions are fixed. They start with session 1 and go to the number specified in the ini file, with a maximum of 255 sessions. In your case your session 1 is term$ "801" and goes for 51 sessions. So, session 40 would correspond to terminal "840".

The problem you saw was that you requested a session above 255. You requested session 801 (321 hex). That was truncated to 21h (33 decimal), so COSW gave you session 33 (term$="833").

I know, I know. It's flawed, but there is almost no way to give an error message at that point in the code.

If your sessions were below 255 all would have been good.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]