Kbase 14084: TIME-SOURCE attribute on SESSION handle
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/14/2001 |
|
TIME-SOURCE attribute on SESSION handle
TIME-SOURCE is a SESSION handle attribute supported by PROGRESS
server versions 7.3B or higher and client versions 7.3C01 or
higher.
TIME-SOURCE is mentioned in Tech Bulletin (TB# T-454; V7 Edition
11, page 25), but is not documented in the PROGRESS manual set
prior to version 8.0A.
TIME-SOURCE specifies which machine PROGRESS uses as the source of
the system time.
Data Type: CHARACTER
Access: Readable/Writable
Applies To: SESSION Handle
Reserved Keyword: No
Abbreviation: None
If you set this attribute to LOCAL or the empty string, PROGRESS
uses the time from the client. If you set this attribute to your
database name, PROGRESS uses the time from the server.
When you use this attribute, all time-related language elements,
such as the TIME and TODAY functions, use the specified time
source. This attribute is useful for client/server applications
that span time zones.
Examples:
SESSION:TIME-SOURCE = "dbname".
SESSION:TIME-SOURCE = "LOCAL".
You must be connected to the database you want to use to set the
time. Setting the time back to "LOCAL" or "" will return you to
client time.
Use of this SESSION handle attribute does not require any
particular startup parameters.
The TIME-SOURCE only works with PROGRESS databases. If you need
to use TIME-SOURCE with a dataserver application, you should use
it with the schema holder for the dataserver.
Progress Software Technical Support Note # 14084