Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 13 MAY 2013 04:11:24PM Bruce Cameron wrote:

I'm using @STATION as part of a key for storing temp records by user session.

i.e. 123456*@STATION for unique records in the same table.

I have set the SYSENV*ENV_MYAPP record <32> to call SET_STATION*MYAPP

In SET_STATION I am setting @STATION to be…

Station = username:"$":computername:"$":processId:"$":Date():"$":Time()

I have set an index on my temp table STATION_ID key part 2 field for easy retrieval.

I am wondering if there are any caveats to setting @Station this way. For example length of @Station. The presence of the dollar signs "$", etc.

Any information is appreciated. TIA

PS. Since the life span of these records is relatively short, 10 mins or less, I'm only concerned about users that forget to log off or go into the debugger. With the above information I can quickly identify which users (at least) set the record, from where and when and release if necessary.

b. cameron

www.alternativesystems.net

603-433-0014


At 14 MAY 2013 02:59PM Bob Orsini wrote:

Not sure if there are issues but why use date if they have 10 minute span. I would think computername and time would suffice.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/60580f7603f170c0c2cf1affe.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1