Hi,
I use the xppCallStack in a method :
publicstaticboolean isInTheCallStack(str _method)
{
// return true when the _method is found in the call stack
container callStack = xSession::xppCallStack();
counter cnt = 1;
anytype anyValue;
while (cnt <= conLen(callStack))
{
anyValue = conPeek(callStack, cnt);
if (typeOf(anyValue) == Types::String)
{
if (strScan(anyValue, _method, 1, strLen(anyValue)) > 0)
returntrue;
}
cnt++;
}
returnfalse;
}
It is well when it run on my computer session but when it run on a server session it always return a container with ["(S)\Jobs\", 0]
Any idea ?
Thanks