web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Application object Server name in current session

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
You can write below code to get Application object Server name in current session in axapta .
sysClientSessions _ClientSessions;

sysServerSessions _ServerSessions;

select _ServerSessions  exists join _ClientSessions where _ClientSessions.SessionId == sessionID()

&& _ClientSessions.ServerID == _ServerSessions.ServerId;

info(substr(_ServerSessions.AOSId, 1, strfind(_ServerSessions.AOSId, '@', 1, strlen(_ServerSessions.AOSId))-1));

This was originally posted here.

Comments

*This post is locked for comments