I've been told that it is based on
* Client IP
* Client certificate if there is a secured session
* User name
If you are accessing all of the applications and servers from the same
client, it would make sense that there would be something common about
the sessionId.
Do you have an actual problem? Why do you need to know this? What are
you trying to accomplish?
In article <403a38a8.29...@sybase.com>, HECTOR JUAREZ says...
i hope that you understand me...
This app allows users to issue custom queries against a database and
scroll through the results, or save the results to one of several report
or file formats.
When the user first logs in, they call a function on EAServer that
returns a unique number. The number is just a random number generated
by the server component which is guaranteed to not belong to any other
active session. The number is stored on a database table, along with
the time it was created. This number is passed by the user in
subsequent calls, and the time last accessed is updated on the database.
If the session has timed out, then the user gets an error and has to log
in again. When the user issues their custom query, the result keys are
saved in a table that includes the session number as part of the name.
So when they need to access the saved keys, the session number is used
to figure out the table to access.
When the user logs out, the session information and "temporary" table
are removed from the database. But, since you can't always count on
users logging themselves out, especially in a web environment, there is
a background job that runs periodically looking for sessions that have
not been accessed for a period of time, and the session information is
removed.
A simple, and common mechanism for saving session state in 3-tier apps,
that does not rely on any EAServer internals.
In article <403b9fb0.2e...@sybase.com>, HECTOR JUAREZ says...