Dear All,I wrote a program on server database that sets a session var value,
and it is working fine.
but on another pc it is not working, however the session variable value is showing in notes.ini file, but on button click it is unable to pick that session variable value…
I create a navigator,
a button on it and wrote formula.
@Command([RunAgent];“login_Agent”); ’ agent sets a session variable value with currently login user p. no. which is showing in notes.ini file in every machine. but this is not going to set in Perno variable , which i am using below, but in my pc it is working fine
Perno:=@Environment($MyPerNo);
@Prompt([Ok];“”;@Text(Perno)); '—for checking purpose
availablePno:=@Text(@DbColumn(“”:“”;“”:“”;“VwAuthority”;1));
@Prompt([Ok];“”;@Text(availablePno)); '—for checking purpose
@If(@IsNotMember(Perno;availablePno);@Prompt([Ok];“msg”;“You are Not Authorized To use This Link, Please Contact Your Dept Head”);@Command([Compose];“frmVisitors”));
pls advice me.
thanks: