Create Session VI
- Updated2025-07-30
- 3 minute(s) read
Creates an HTTP session for the current HTTP request.

Inputs/Outputs
LabVIEW Web Service Request
—
LabVIEW Web Service Request is an identifier used by Web Services VIs to reference a specific HTTP request. LabVIEW Web Service Request works similarly to a refnum in LabVIEW, allowing you to wire together Web Services VIs within your application. You must wire Web Services VIs to the LabVIEW Web Service Request control or an existing value from the LabVIEW Web Service Request out terminal of another VI. When you use Web Services VI(s) within a Web method VI, you must assign the original LabVIEW Web Service Request control to the connector pane of the Web method VI.
timeout (60000 msec)
—
timeout (60000 msec) specifies the maximum idle time, in milliseconds, before a HTTP session times out. The VI completes execution immediately after creating the session. The Web Server monitors and deletes the session after the session times out. If you specify zero or less as the value, the VI uses the default value (60000 msec).
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
LabVIEW Web Service Request out
—
LabVIEW Web Service Request out is an identifier that VIs on the Web Services palette use to reference a specific HTTP request. Use LabVIEW Web Service Request out to wire together Web Services VIs within your application.
session ID cookie
—
error out
—
error out contains error information. This output provides standard error out functionality. |
LabVIEW Web Service Request
—
timeout (60000 msec)
—
error in (no error)
—
LabVIEW Web Service Request out
—
session ID cookie
—
error out
—