Getting session ID from a srvroutine after StartSession method

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dvanoni
Posts: 27
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Getting session ID from a srvroutine after StartSession method

Post by dvanoni » Fri Jun 17, 2016 2:14 am

Hi!

Is it possible to retrieve the session id from a srvroutine once it has been set calling the StartSession method?

Thanks!

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Getting session ID from a srvroutine after StartSession method

Post by Stewart Marshall » Fri Jun 17, 2016 7:50 am

Sessions are something that LANSA manages for you, so the session ID is just an internal value.

What problem are you trying to solve?

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Getting session ID from a srvroutine after StartSession method

Post by Stewart Marshall » Mon Jun 20, 2016 3:22 pm

I made a mistake in the previous reply

The Session Id is available from #Com_owner.SessionIdentifier

Session Key is currently unavailable.
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

Post Reply