Kbase 18503: Usage of the TIME-SOURCE attribute of the Session Handle
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
Usage of TIME-SOURCE attribute of the Session Handle
FIX:
This solution describes the network packet usage when using the TIME-SOURCE attribute of the 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, that specifies which machine PROGRESS uses as the source of the system time.
What is the impact on network performance of the TIME-SOURCE usage? (i.e. How many packets? Of what size? How often?)
- One packet is sent to the server by the client.
- A packet consists of about 20 bytes of information.
- One packet is sent back to the client with the server's time and
date. These packets contain about 30 bytes of information.
- One packet travels each way each time the client wants the
current date and time.
- It asks the database what time it is every time the 4GL issues
the TIME or TODAY function.
- It asks the database for the time only when the
SESSION:TIME-SOURCE attribute is set.
Examples of how to use it:
SESSION:TIME-SOURCE = "dbname". /*dbname is the database name
connected*/
SESSION:TIME-SOURCE = "LOCAL". /*gets info form the client */