Script functions reference > Script functions in alphabetical order > S > SessionStart

SessionStart
Syntax
SessionStart(str_session_name, num_timeout);
str_session_name
num_timeout 
Description
Starts a new session in the StreamServer, and specifies the length of the session (minutes). The session will be removed if it has not been used for the specified number of minutes.
Returns
1
0
Example
Starts a session called My_Session, and specifies the timeout to 25 minutes:
sessionstart("My_Session", 25);
OpenText StreamServe 5.6 Updated: 2013-03-01