SA XT for web access > System Architect XT > System Architect XT Web Service > System Architect XT Web Service methods > StartSession method
  
StartSession method
The StartSession method must be the first method called when establishing a new SAXT Web Service session. A new SessionState object is created and an instance of System Architect is started on the server and the SessionState object is added to the Application’s SAWS_Sessions collection.
Updated values
The SessionState values are updated as follows:
SessionID
Session Id assigned by the web service
AuthUser
Windows authenticated user id of the client
State
SAServerStarted
LogonDateTime
Current date and time
LastDateTime
Current date and time
Arguments
None
Return
SAWSResult
iError
0 if successful, otherwise an error number
sErrorMsg
Empty if successful, otherwise a description of the problem
sOutput
A new session id if successful, otherwise empty
See also
System Architect XT Web Service methods