jack786
5th August 2004, 17:25
At the time of opening a session manually I need a message like "you opened the session normally" and when we open a session thru AFS I need a message saying that "You opened the session thru AFS".So depends on that I need to do some tasks.How can I Identify whether the session is opened thru AFS or normally.
rgds,
jack
mark_h
5th August 2004, 18:01
Check api.mode - should be false when run manually and should be true when run through an API session.
Mark
jack786
6th August 2004, 05:50
where exactly can I check this? in before.program or any other place also??
and also can u let me know the syntax
SriksAdi
6th August 2004, 09:02
Hi,
api.mode is a predefined variable, which is true if a session called through AFS and false if is called normally.
regards
Sriks
mark_h
6th August 2004, 15:40
You should be able to check it anywhere - as Sriks mentioned it is a predefined variable.
Mark