>Some of our users open many session on our HP3000 (up to 11 !!!).
>I want to limit the sessionnumber up to 2 or 3 from one PC with a
>reflectio-login-script.
While I don't know how to due this with Reflection emulator tricks,
I'd probably try something in their logon UDC that uses LISTF,8 on
a common program like CI.PUB.SYS and greps for the client's IP addr
to count how many times it is already shown...
:listfile ci.pub.sys,8 > $newpass
: /bin/grep "' !hp_rem_ip_addr$'" < $oldpass > $newpass
:if finfo($oldpass, "eof") >= 3 then
: echo You will catch a cold with so many open windows ;-)
: bye
:endif
This assumes that you're not using NEWCI to launch applications
as NEWCI would make the clients' IP address no longer show up on
the CI.PUB.SYS program usage.
Lars.
PS... I haven't tried above commands, they might need tweaking.
* To join/leave the list, search archives, change list settings, etc *
* please visit http://raven.utc.edu/archives/hp3000-l.html *