Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Read Session Variable VI

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Sessions VIs

Requires: Full Development System (Windows)

Reads the value of an HTTP session variable associated with the current HTTP request. You can create session variables by first establishing an HTTP session with the Create Session VI and then using the Write Session Variable VI to create the variables.

Note  For more information about concepts in this topic, refer to the Web services introduction and tutorial.

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.
key identifies the name of the session variable to create or replace.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
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.
value returns the value of the specified variable.
error out contains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit