Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation


About Roryriffic

  • Rank
    LAVA groupie

LabVIEW Information

  • Version
    LabVIEW 2013
  • Since
  1. Ahhh, I knew there was a technical term for the text associated with the status code; a "like" for your nugget of wisdom, good sir. This is also what I'm doing in my web service. Write your own string and set the response code - works like a charm for me.
  2. Found the answer... Maybe this is above and beyond, maybe nobody cares, but we're all friends here and I hope this helps somebody in the future... We can all agree that the easiest way to detect when the user's session ends would be for LV to expose the session timeout event, but LV does not do this (as of 2013sp1). Furthermore, LV does not provide a mechanism for storing session handles/IDs and later polling them to see if the session still exists. You can get the ID all day long, but you can do nothing with it (anybody see the two feature requests?). Thus, you have to get creative on
  3. Hi all, new to Lava, so (kindly) let me know if I screwed up my post I have a multi-user web application controlled by a LV web service. I keep track of all the users through the web service > sessions VI's. This is pretty cool and works really great. I can give each user different levels of authentication, force them to use SSL, track where they go and when throughout the website, etc. Now what I'd like to do is keep track of when their session expires. Obviously I can provide a "Logout" link on the client-side which ultimately calls the "Destroy Session" VI, but I can't en
  4. I saw that no one replied yet, so let me give it a try. I *sort of* ran into this issue. I'm not sure what you're using on the front-end, but I find that AJAX and Javascript work wonders when talking to a web service. For example, let's say I make a POST request (via AJAX) to one of my web service VI's. Then let's say that the VI throws an error. What I'll do is output my custom error text to a FP indicator called "statusMsg" as well as set the appropriate response code in the "Set HTTP Response Code" VI just before I exit the VI. (NOTE: I found that you cannot input an error into the
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.